From 407fc718ea8ffffc675b307980eabd983267649e Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 6 Aug 2024 10:34:49 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 159048 --- .../ItemInsightsRequestBuilder.php} | 100 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...ightsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Admin/People/PeopleRequestBuilder.php | 8 + ...edIdentityCredentialItemRequestBuilder.php | 4 +- ...ntityCredentialsWithNameRequestBuilder.php | 4 +- .../GetMemberGroupsRequestBuilder.php | 4 +- src/Generated/Chats/ChatsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php} | 24 +- .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- .../Item/Messages/MessagesRequestBuilder.php | 6 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../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 +- .../ManagedAppRegistrationsRequestBuilder.php | 6 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../ManagedAppStatusItemRequestBuilder.php | 6 +- ...usItemRequestBuilderGetQueryParameters.php | 2 +- ...nagedEBookAssignmentItemRequestBuilder.php | 12 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- ...bileAppConfigurationItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileAppConfigurationsRequestBuilder.php | 6 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MobileAppItemRequestBuilder.php | 12 +- ...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 +- ...ollmentConfigurationItemRequestBuilder.php | 12 +- .../DeviceManagementRequestBuilder.php | 4 +- .../Item/RoleDefinitionItemRequestBuilder.php | 12 +- .../RoleDefinitionsRequestBuilder.php | 6 +- ...itionsRequestBuilderGetQueryParameters.php | 2 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../CompanySubscriptionItemRequestBuilder.php | 5 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../SubscriptionsRequestBuilder.php | 5 +- ...ptionsRequestBuilderGetQueryParameters.php | 2 +- ...thCommerceSubscriptionIdRequestBuilder.php | 5 +- ...tionIdRequestBuilderGetQueryParameters.php | 2 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../RetentionLabelRequestBuilder.php | 6 +- ...WorkbookCommentReplyItemRequestBuilder.php | 4 +- ...lyItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Replies/RepliesRequestBuilder.php | 4 +- ...epliesRequestBuilderGetQueryParameters.php | 2 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Worksheet/WorksheetRequestBuilder.php | 4 +- ...ksheetRequestBuilderGetQueryParameters.php | 2 +- .../Item/Columns/ColumnsRequestBuilder.php | 4 +- ...olumnsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Filter/FilterRequestBuilder.php | 4 +- ...FilterRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookTableColumnItemRequestBuilder.php | 4 +- ...mnItemRequestBuilderGetQueryParameters.php | 2 +- .../Filter/FilterRequestBuilder.php | 4 +- ...FilterRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookTableRowItemRequestBuilder.php | 4 +- ...owItemRequestBuilderGetQueryParameters.php | 2 +- .../Tables/Item/Rows/RowsRequestBuilder.php | 4 +- .../RowsRequestBuilderGetQueryParameters.php | 2 +- .../Tables/Item/Sort/SortRequestBuilder.php | 4 +- .../SortRequestBuilderGetQueryParameters.php | 2 +- .../Columns/ColumnsRequestBuilder.php | 4 +- ...olumnsRequestBuilderGetQueryParameters.php | 2 +- .../Rows/RowsRequestBuilder.php | 4 +- .../RowsRequestBuilderGetQueryParameters.php | 2 +- .../Sort/SortRequestBuilder.php | 4 +- .../SortRequestBuilderGetQueryParameters.php | 2 +- .../Item/Charts/ChartsRequestBuilder.php | 4 +- ...ChartsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Format/FormatRequestBuilder.php | 4 +- ...FormatRequestBuilderGetQueryParameters.php | 2 +- .../Item/Format/FormatRequestBuilder.php | 4 +- ...FormatRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookChartPointItemRequestBuilder.php | 4 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- .../Format/FormatRequestBuilder.php | 4 +- ...FormatRequestBuilderGetQueryParameters.php | 2 +- .../Item/Points/PointsRequestBuilder.php | 4 +- ...PointsRequestBuilderGetQueryParameters.php | 2 +- .../Format/FormatRequestBuilder.php | 4 +- ...FormatRequestBuilderGetQueryParameters.php | 2 +- .../Points/PointsRequestBuilder.php | 4 +- ...PointsRequestBuilderGetQueryParameters.php | 2 +- .../Title/Format/FormatRequestBuilder.php | 4 +- ...FormatRequestBuilderGetQueryParameters.php | 2 +- .../Item/WorkbookChartItemRequestBuilder.php | 4 +- ...rtItemRequestBuilderGetQueryParameters.php | 2 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../WorkbookNamedItemItemRequestBuilder.php | 4 +- ...emItemRequestBuilderGetQueryParameters.php | 2 +- .../Worksheet/WorksheetRequestBuilder.php | 4 +- ...ksheetRequestBuilderGetQueryParameters.php | 2 +- .../Item/Names/NamesRequestBuilder.php | 4 +- .../NamesRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookPivotTableItemRequestBuilder.php | 4 +- ...leItemRequestBuilderGetQueryParameters.php | 2 +- .../Worksheet/WorksheetRequestBuilder.php | 4 +- ...ksheetRequestBuilderGetQueryParameters.php | 2 +- .../PivotTables/PivotTablesRequestBuilder.php | 4 +- ...TablesRequestBuilderGetQueryParameters.php | 2 +- .../Protection/ProtectionRequestBuilder.php | 4 +- ...ectionRequestBuilderGetQueryParameters.php | 2 +- .../Item/Columns/ColumnsRequestBuilder.php | 4 +- ...olumnsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Filter/FilterRequestBuilder.php | 4 +- ...FilterRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookTableColumnItemRequestBuilder.php | 4 +- ...mnItemRequestBuilderGetQueryParameters.php | 2 +- .../Filter/FilterRequestBuilder.php | 4 +- ...FilterRequestBuilderGetQueryParameters.php | 2 +- .../WorkbookTableRowItemRequestBuilder.php | 4 +- ...owItemRequestBuilderGetQueryParameters.php | 2 +- .../Tables/Item/Rows/RowsRequestBuilder.php | 4 +- .../RowsRequestBuilderGetQueryParameters.php | 2 +- .../Tables/Item/Sort/SortRequestBuilder.php | 4 +- .../SortRequestBuilderGetQueryParameters.php | 2 +- .../Item/WorkbookTableItemRequestBuilder.php | 4 +- ...leItemRequestBuilderGetQueryParameters.php | 2 +- .../Columns/ColumnsRequestBuilder.php | 4 +- ...olumnsRequestBuilderGetQueryParameters.php | 2 +- .../Rows/RowsRequestBuilder.php | 4 +- .../RowsRequestBuilderGetQueryParameters.php | 2 +- .../Sort/SortRequestBuilder.php | 4 +- .../SortRequestBuilderGetQueryParameters.php | 2 +- .../Item/Tables/TablesRequestBuilder.php | 4 +- ...TablesRequestBuilderGetQueryParameters.php | 2 +- .../EducationRubricItemRequestBuilder.php | 4 +- .../Item/ExternalItemItemRequestBuilder.php | 6 +- .../GetMemberGroupsRequestBuilder.php | 4 +- src/Generated/Groups/GroupsRequestBuilder.php | 6 +- .../AddFavorite/AddFavoriteRequestBuilder.php | 4 +- .../ConversationsRequestBuilder.php | 6 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../Analytics/AnalyticsRequestBuilder.php | 144 - ...sRequestBuilderGetRequestConfiguration.php | 39 - .../Columns/ColumnsRequestBuilder.php | 113 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../ContentTypesRequestBuilder.php | 113 - ...tTypesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...rRequestBuilderGetRequestConfiguration.php | 39 - ...eRequestBuilderGetRequestConfiguration.php | 39 - .../ExternalColumnsRequestBuilder.php | 77 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - .../GetByPathWithPath1RequestBuilder.php | 213 -- .../Items/ItemsRequestBuilder.php | 77 - .../ItemsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../LastModifiedByUserRequestBuilder.php | 77 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../Lists/ListsRequestBuilder.php | 113 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Onenote/OnenoteRequestBuilder.php | 144 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Operations/OperationsRequestBuilder.php | 113 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Pages/PagesRequestBuilder.php | 113 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Permissions/PermissionsRequestBuilder.php | 113 - ...ssionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sites/SitesRequestBuilder.php | 77 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../TermStores/TermStoresRequestBuilder.php | 113 - ...StoresRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GetByPathWithPathRequestBuilder.php | 10 - .../Team/Channels/ChannelsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php} | 24 +- .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- .../Item/Archive/ArchivePostRequestBody.php} | 48 +- .../Item/Archive/ArchiveRequestBuilder.php | 77 + ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Item/ChannelItemRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php} | 39 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Archive/ArchivePostRequestBody.php} | 36 +- .../Archive/ArchiveRequestBuilder.php | 77 + ...equestBuilderPostRequestConfiguration.php} | 6 +- .../PrimaryChannelRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php} | 35 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Item/ExtensionItemRequestBuilder.php | 4 +- ...alUsersSelfServiceSignUpRequestBuilder.php | 12 +- ...alUsersSelfServiceSignUpRequestBuilder.php | 12 +- ...ombinationConfigurationsRequestBuilder.php | 8 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- ...inationConfigurationItemRequestBuilder.php | 4 +- .../Item/NamedLocationItemRequestBuilder.php | 6 +- ...kageAssignmentPolicyItemRequestBuilder.php | 5 +- ...stomCalloutExtensionItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/WorkflowItemRequestBuilder.php | 2 +- .../Invitations/InvitationsRequestBuilder.php | 22 +- .../InvitedUser/InvitedUserRequestBuilder.php | 8 +- ...edUserRequestBuilderGetQueryParameters.php | 2 +- ...rRequestBuilderGetRequestConfiguration.php | 2 +- .../MailboxSettingsRequestBuilder.php | 6 +- ...ttingsRequestBuilderGetQueryParameters.php | 2 +- ...sRequestBuilderGetRequestConfiguration.php | 2 +- ...equestBuilderPatchRequestConfiguration.php | 2 +- .../Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- ...erviceProvisioningErrorsRequestBuilder.php | 8 +- ...ErrorsRequestBuilderGetQueryParameters.php | 2 +- ...sRequestBuilderGetRequestConfiguration.php | 2 +- .../Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- .../InvitedUserSponsorsRequestBuilder.php | 8 +- ...onsorsRequestBuilderGetQueryParameters.php | 2 +- ...sRequestBuilderGetRequestConfiguration.php | 2 +- .../DirectoryObjectItemRequestBuilder.php | 4 +- ...ctItemRequestBuilderGetQueryParameters.php | 2 +- ...mRequestBuilderGetRequestConfiguration.php | 2 +- .../Item/InvitationItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - src/Generated/Models/AccessPackage.php | 4 +- .../AppManagementApplicationConfiguration.php | 46 + .../Models/AppManagementConfiguration.php | 9 + src/Generated/Models/AppManagementPolicy.php | 12 +- ...anagementServicePrincipalConfiguration.php | 46 + src/Generated/Models/Application.php | 22 + .../Models/AppliedConditionalAccessPolicy.php | 8 +- src/Generated/Models/AssignedLicense.php | 8 +- src/Generated/Models/AssignmentType.php | 1 + src/Generated/Models/Authentication.php | 4 +- ...AuthenticationCombinationConfiguration.php | 4 +- src/Generated/Models/BookingAppointment.php | 117 +- src/Generated/Models/BookingBusiness.php | 67 + .../Models/BookingCustomQuestion.php | 45 + src/Generated/Models/BookingCustomer.php | 53 +- .../Models/BookingPageAccessControl.php | 11 + src/Generated/Models/BookingPageSettings.php | 356 ++ .../Models/BookingSchedulingPolicy.php | 73 +- src/Generated/Models/BookingService.php | 79 +- src/Generated/Models/BookingStaffMember.php | 57 +- .../BookingsAvailability.php} | 122 +- .../Models/BookingsAvailabilityWindow.php | 91 + .../BookingsServiceAvailabilityType.php | 12 + src/Generated/Models/CallTranscript.php | 4 +- src/Generated/Models/Channel.php | 22 + src/Generated/Models/ClickSource.php | 12 + src/Generated/Models/ColumnDefinition.php | 4 +- src/Generated/Models/CompanySubscription.php | 48 +- .../Models/ConditionalAccessConditionSet.php | 4 +- .../CrossTenantAccessPolicyB2BSetting.php | 7 + ...TenantAccessPolicyConfigurationDefault.php | 22 + ...TenantAccessPolicyConfigurationPartner.php | 22 + .../Models/CrossTenantAccessPolicyTarget.php | 4 +- ...ssTenantAccessPolicyTenantRestrictions.php | 68 + .../CustomAppManagementConfiguration.php | 46 + src/Generated/Models/Device.php | 16 +- .../DevicesFilter.php} | 88 +- src/Generated/Models/Directory.php | 4 +- src/Generated/Models/EducationRubric.php | 12 +- src/Generated/Models/Entity.php | 15 + .../ExternalConnectors/PropertyRule.php | 4 +- src/Generated/Models/Group.php | 16 +- src/Generated/Models/Identity.php | 8 +- .../Models/IdentityGovernance/Task.php | 8 +- src/Generated/Models/InsightsSettings.php | 89 + src/Generated/Models/ItemInsights.php | 45 + .../Models/MeetingParticipantInfo.php | 7 + .../NativeAuthenticationApisEnabled.php | 11 + src/Generated/Models/OfficeGraphInsights.php | 19 +- src/Generated/Models/OnlineMeeting.php | 4 +- src/Generated/Models/PeopleAdminSettings.php | 22 + .../Models/PublicClientApplication.php | 4 +- src/Generated/Models/SecureScore.php | 4 +- .../Models/Security/AlertEvidence.php | 2 + .../Security/CloudLogonRequestEvidence.php | 68 + .../Security/CloudLogonSessionEvidence.php | 245 ++ src/Generated/Models/Security/Incident.php | 22 + .../Models/Security/SslCertificate.php | 4 +- .../Models/ServiceStorageQuotaBreakdown.php | 45 + ...orageQuotaBreakdownCollectionResponse.php} | 24 +- src/Generated/Models/Shared.php | 4 +- src/Generated/Models/SignIn.php | 4 +- src/Generated/Models/Storage.php | 22 + .../Models/StorageQuotaBreakdown.php | 118 + src/Generated/Models/StorageSettings.php | 67 + src/Generated/Models/SubscribedSku.php | 8 +- .../Models/SynchronizationSchedule.php | 4 +- .../Models/TeamsAsyncOperationType.php | 2 + src/Generated/Models/Teamwork.php | 4 +- .../Models/TenantAppManagementPolicy.php | 24 +- .../Models/UnifiedRoleAssignment.php | 12 +- src/Generated/Models/UnifiedStorageQuota.php | 202 ++ src/Generated/Models/User.php | 12 +- src/Generated/Models/UserInsightsSettings.php | 67 + .../Models/UserRegistrationDetails.php | 4 +- src/Generated/Models/UserSettings.php | 44 + .../Models/UserSimulationEventInfo.php | 22 + src/Generated/Models/UserStorage.php | 67 + src/Generated/Models/UserTeamwork.php | 8 +- src/Generated/Models/VirtualEvent.php | 49 +- .../Models/VirtualEventPresenter.php | 111 + ...rtualEventPresenterCollectionResponse.php} | 24 +- .../Models/VirtualEventPresenterDetails.php | 269 ++ .../Models/VirtualEventPresenterInfo.php | 68 + .../Models/VirtualEventRegistration.php | 72 +- .../VirtualEventRegistrationConfiguration.php | 121 + ...VirtualEventRegistrationCustomQuestion.php | 100 + ...ualEventRegistrationPredefinedQuestion.php | 68 + ...entRegistrationPredefinedQuestionLabel.php | 17 + ...entRegistrationQuestionAnswerInputType.php | 14 + .../VirtualEventRegistrationQuestionBase.php | 97 + ...trationQuestionBaseCollectionResponse.php} | 24 +- src/Generated/Models/VirtualEventTownhall.php | 139 + ...irtualEventTownhallCollectionResponse.php} | 24 +- src/Generated/Models/VirtualEventWebinar.php | 27 +- ...lEventWebinarRegistrationConfiguration.php | 89 + src/Generated/Models/VirtualEventsRoot.php | 28 +- .../Models/WorkbookChartAxisTitle.php | 4 +- .../Models/WorkbookChartDataLabels.php | 28 +- src/Generated/Models/WorkbookChartFont.php | 24 +- .../Models/WorkbookChartGridlines.php | 4 +- src/Generated/Models/WorkbookChartLegend.php | 8 +- .../Models/WorkbookChartLineFormat.php | 4 +- src/Generated/Models/WorkbookChartPoint.php | 4 +- src/Generated/Models/WorkbookChartSeries.php | 12 +- src/Generated/Models/WorkbookChartTitle.php | 16 +- src/Generated/Models/WorkbookComment.php | 12 +- src/Generated/Models/WorkbookCommentReply.php | 8 +- .../Models/WorkbookFormatProtection.php | 8 +- src/Generated/Models/WorkbookIcon.php | 8 +- src/Generated/Models/WorkbookNamedItem.php | 16 +- src/Generated/Models/WorkbookPivotTable.php | 8 +- src/Generated/Models/WorkbookRange.php | 8 +- src/Generated/Models/WorkbookRangeBorder.php | 16 +- src/Generated/Models/WorkbookRangeFill.php | 4 +- src/Generated/Models/WorkbookRangeFont.php | 24 +- src/Generated/Models/WorkbookRangeFormat.php | 20 +- src/Generated/Models/WorkbookRangeView.php | 16 +- src/Generated/Models/WorkbookTable.php | 24 +- src/Generated/Models/WorkbookTableColumn.php | 12 +- src/Generated/Models/WorkbookTableRow.php | 4 +- src/Generated/Models/WorkbookTableSort.php | 12 +- src/Generated/Models/WorkbookWorksheet.php | 24 +- .../Models/WorkbookWorksheetProtection.php | 8 +- ...509CertificateCombinationConfiguration.php | 8 +- .../BannerLogo/BannerLogoRequestBuilder.php | 6 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../Item/OrganizationItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../OrganizationRequestBuilder.php | 6 +- ...zationRequestBuilderGetQueryParameters.php | 2 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../DirectoryScopeRequestBuilder.php | 4 +- ...yScopeRequestBuilderGetQueryParameters.php | 2 +- .../Principal/PrincipalRequestBuilder.php | 4 +- ...ncipalRequestBuilderGetQueryParameters.php | 2 +- .../RoleDefinitionRequestBuilder.php | 4 +- ...nitionRequestBuilderGetQueryParameters.php | 2 +- .../DirectoryScopeRequestBuilder.php | 4 +- ...yScopeRequestBuilderGetQueryParameters.php | 2 +- .../Principal/PrincipalRequestBuilder.php | 4 +- ...ncipalRequestBuilderGetQueryParameters.php | 2 +- .../RoleDefinitionRequestBuilder.php | 4 +- ...nitionRequestBuilderGetQueryParameters.php | 2 +- .../Item/HostItemRequestBuilder.php | 4 +- ...stItemRequestBuilderGetQueryParameters.php | 2 +- .../RelatedHostsRequestBuilder.php | 5 +- ...dHostsRequestBuilderGetQueryParameters.php | 2 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../Analytics/AnalyticsRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...lyticsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - .../Columns/ColumnsRequestBuilder.php | 113 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../ContentTypesRequestBuilder.php | 113 - ...tTypesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../Drive/DriveRequestBuilder.php | 77 - .../Drives/DrivesRequestBuilder.php | 77 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../ExternalColumnsRequestBuilder.php | 77 - .../GetByPathWithPath1RequestBuilder.php | 213 -- .../Items/ItemsRequestBuilder.php | 77 - .../ItemsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../LastModifiedByUserRequestBuilder.php | 77 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../Lists/ListsRequestBuilder.php | 113 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...nenoteRequestBuilderGetQueryParameters.php | 34 - .../Operations/OperationsRequestBuilder.php | 113 - .../Pages/PagesRequestBuilder.php | 113 - .../PagesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Permissions/PermissionsRequestBuilder.php | 113 - ...ssionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sites/SitesRequestBuilder.php | 77 - .../SitesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...mStoreRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - .../TermStores/TermStoresRequestBuilder.php | 113 - .../GetByPathWithPathRequestBuilder.php | 10 - .../BookingAppointmentItemRequestBuilder.php | 4 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Cancel/CancelRequestBuilder.php} | 34 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Presenters}/Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- ...rtualEventPresenterItemRequestBuilder.php} | 66 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...erItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Presenters/PresentersRequestBuilder.php} | 72 +- ...ntersRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Item/Publish/PublishRequestBuilder.php | 9 +- ...RequestBuilderPostRequestConfiguration.php | 2 +- .../VirtualEventSessionItemRequestBuilder.php | 4 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Sessions/SessionsRequestBuilder.php | 4 +- ...ssionsRequestBuilderGetQueryParameters.php | 2 +- .../Item/VirtualEventItemRequestBuilder.php | 24 + .../Townhalls/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- .../Presenters/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...irtualEventPresenterItemRequestBuilder.php | 146 + ...questBuilderDeleteRequestConfiguration.php | 22 + ...rItemRequestBuilderGetQueryParameters.php} | 8 +- ...mRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + .../Presenters/PresentersRequestBuilder.php} | 82 +- ...ntersRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Sessions/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + .../AttendanceReportsRequestBuilder.php | 133 + ...portsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- .../AttendanceRecordsRequestBuilder.php} | 72 +- ...cordsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- .../AttendanceRecordItemRequestBuilder.php} | 74 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...dItemRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- ...tingAttendanceReportItemRequestBuilder.php | 152 + ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...tItemRequestBuilderGetQueryParameters.php} | 8 +- ...mRequestBuilderGetRequestConfiguration.php | 39 + ...questBuilderPatchRequestConfiguration.php} | 6 +- ...VirtualEventSessionItemRequestBuilder.php} | 82 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...nItemRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Item/Sessions/SessionsRequestBuilder.php} | 72 +- ...sionsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- ...irtualEventTownhallItemRequestBuilder.php} | 84 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...lItemRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Townhalls/TownhallsRequestBuilder.php | 134 + ...hallsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../VirtualEventsRequestBuilder.php | 8 + .../Presenters/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...rtualEventPresenterItemRequestBuilder.php} | 67 +- ...questBuilderDeleteRequestConfiguration.php | 22 + ...erItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Presenters/PresentersRequestBuilder.php} | 73 +- ...ntersRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Questions}/Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...strationQuestionBaseItemRequestBuilder.php | 145 + ...questBuilderDeleteRequestConfiguration.php | 22 + ...eItemRequestBuilderGetQueryParameters.php} | 8 +- ...mRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + .../Questions/QuestionsRequestBuilder.php | 135 + ...tionsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- ...egistrationConfigurationRequestBuilder.php | 153 + ...questBuilderDeleteRequestConfiguration.php | 22 + ...ationRequestBuilderGetQueryParameters.php} | 8 +- ...nRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + .../Item/Cancel/CancelRequestBuilder.php} | 29 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Sessions/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 2 +- ...tRequestBuilderGetRequestConfiguration.php | 2 +- ...VirtualEventSessionItemRequestBuilder.php} | 33 +- ...nItemRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- .../Item/Sessions/SessionsRequestBuilder.php | 98 + ...sionsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...ualEventRegistrationItemRequestBuilder.php | 16 + .../RegistrationsRequestBuilder.php | 7 +- .../Cancel/CancelRequestBuilder.php} | 29 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../RegistrationsWithEmailRequestBuilder.php} | 82 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...EmailRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Cancel/CancelRequestBuilder.php} | 29 +- ...RequestBuilderPostRequestConfiguration.php | 22 + ...RegistrationsWithUserIdRequestBuilder.php} | 114 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...serIdRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- ...tingAttendanceReportItemRequestBuilder.php | 4 +- ...rtItemRequestBuilderGetQueryParameters.php | 2 +- .../VirtualEventSessionItemRequestBuilder.php | 4 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Sessions/SessionsRequestBuilder.php | 5 +- ...ssionsRequestBuilderGetQueryParameters.php | 2 +- .../VirtualEventWebinarItemRequestBuilder.php | 41 +- .../Webinars/WebinarsRequestBuilder.php | 5 +- .../Drive/Bundles/BundlesRequestBuilder.php | 133 - ...undlesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Item/Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - .../Item/DriveItemItemRequestBuilder.php | 85 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../CreatedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Item/Drive/DriveRequestBuilder.php | 157 - .../Columns/ColumnsRequestBuilder.php | 133 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../SourceColumnRequestBuilder.php | 77 - .../AddCopy/AddCopyRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...dCopyFromContentTypeHubPostRequestBody.php | 114 - ...ddCopyFromContentTypeHubRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ContentTypesRequestBuilder.php | 157 - ...tTypesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...etCompatibleHubContentTypesGetResponse.php | 72 - ...ompatibleHubContentTypesRequestBuilder.php | 77 - ...tTypesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../AssociateWithHubSitesPostRequestBody.php | 146 - .../AssociateWithHubSitesRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../BaseRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - .../BaseTypes/BaseTypesRequestBuilder.php | 97 - .../BaseTypes/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/ContentTypeItemRequestBuilder.php | 77 - ...peItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../ColumnLinks/ColumnLinksRequestBuilder.php | 133 - ...nLinksRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ColumnLinks/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/ColumnLinkItemRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...nkItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ColumnPositionsRequestBuilder.php | 97 - ...itionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../ColumnDefinitionItemRequestBuilder.php | 77 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Columns/ColumnsRequestBuilder.php | 133 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Columns/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../ColumnDefinitionItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SourceColumnRequestBuilder.php | 77 - ...ColumnRequestBuilderGetQueryParameters.php | 34 - ...nRequestBuilderGetRequestConfiguration.php | 39 - .../Item/ContentTypeItemRequestBuilder.php | 224 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...peItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...oDefaultContentLocationPostRequestBody.php | 137 - ...ToDefaultContentLocationRequestBuilder.php | 77 - .../IsPublished/IsPublishedRequestBuilder.php | 74 - ...dRequestBuilderGetRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CreatedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../DriveRequestBuilderGetQueryParameters.php | 34 - .../Items/Delta/DeltaRequestBuilder.php | 77 - .../DeltaRequestBuilderGetQueryParameters.php | 82 - ...aRequestBuilderGetRequestConfiguration.php | 45 - .../DeltaWithTokenRequestBuilder.php | 79 - ...hTokenRequestBuilderGetQueryParameters.php | 82 - ...nRequestBuilderGetRequestConfiguration.php | 45 - .../Analytics/AnalyticsRequestBuilder.php | 77 - ...lyticsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - .../CreateLink/CreateLinkPostRequestBody.php | 273 -- .../CreateLink/CreateLinkRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CreatedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../DocumentSetVersionsRequestBuilder.php | 133 - ...rsionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DocumentSetVersionItemRequestBuilder.php | 160 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FieldsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../DriveItem/DriveItemRequestBuilder.php | 85 - ...veItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Fields/FieldsRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FieldsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../GetActivitiesByIntervalGetResponse.php | 72 - ...tervalRequestBuilderGetQueryParameters.php | 82 - ...lRequestBuilderGetRequestConfiguration.php | 45 - ...WithEndDateTimeWithIntervalGetResponse.php | 72 - ...hEndDateTimeWithIntervalRequestBuilder.php | 83 - ...tervalRequestBuilderGetQueryParameters.php | 82 - ...lRequestBuilderGetRequestConfiguration.php | 45 - .../LastModifiedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Items/Item/ListItemItemRequestBuilder.php | 228 -- .../Versions/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Fields/FieldsRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FieldsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ListItemVersionItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../RestoreVersionRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../EscapedList/Items/ItemsRequestBuilder.php | 143 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LastModifiedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Drive/EscapedList/ListRequestBuilder.php | 208 -- .../ListRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Operations/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...ationsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Reauthorize/ReauthorizeRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SubscriptionsRequestBuilder.php | 133 - ...ptionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Following/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Following/FollowingRequestBuilder.php | 97 - .../Item/Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - .../Item/DriveItemItemRequestBuilder.php | 85 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../AllTime/AllTimeRequestBuilder.php | 77 - ...eRequestBuilderGetRequestConfiguration.php | 39 - .../Analytics/AnalyticsRequestBuilder.php | 168 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...lyticsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Activities/ActivitiesRequestBuilder.php | 133 - ...vitiesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Activities/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../DriveItem/DriveItemRequestBuilder.php | 85 - ...veItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Item/ItemActivityItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...tyItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemActivityStatItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...atItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LastSevenDaysRequestBuilder.php | 77 - ...enDaysRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - .../AssignSensitivityLabelPostRequestBody.php | 159 - .../AssignSensitivityLabelRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Checkin/CheckinPostRequestBody.php | 136 - .../Item/Checkin/CheckinRequestBuilder.php | 77 - .../Item/Checkout/CheckoutRequestBuilder.php | 74 - .../Children/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../Item/DriveItemItemRequestBuilder.php | 85 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Content/ContentRequestBuilder.php | 147 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../Items/Item/Copy/CopyPostRequestBody.php | 137 - .../Items/Item/Copy/CopyRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CreateLink/CreateLinkPostRequestBody.php | 273 -- .../CreateLink/CreateLinkRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CreateUploadSessionPostRequestBody.php | 115 - .../CreateUploadSessionRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CreatedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Items/Item/Delta/DeltaRequestBuilder.php | 77 - .../DeltaRequestBuilderGetQueryParameters.php | 82 - ...aRequestBuilderGetRequestConfiguration.php | 45 - .../DeltaWithTokenRequestBuilder.php | 79 - ...hTokenRequestBuilderGetQueryParameters.php | 82 - ...nRequestBuilderGetRequestConfiguration.php | 45 - .../Item/DriveItemItemRequestBuilder.php | 400 --- ...questBuilderDeleteRequestConfiguration.php | 22 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...ExtractSensitivityLabelsRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GetActivitiesByIntervalGetResponse.php | 72 - .../GetActivitiesByIntervalRequestBuilder.php | 77 - ...tervalRequestBuilderGetQueryParameters.php | 82 - ...lRequestBuilderGetRequestConfiguration.php | 45 - ...WithEndDateTimeWithIntervalGetResponse.php | 72 - ...hEndDateTimeWithIntervalRequestBuilder.php | 83 - ...tervalRequestBuilderGetQueryParameters.php | 82 - ...lRequestBuilderGetRequestConfiguration.php | 45 - .../Item/Invite/InvitePostRequestBody.php | 281 -- .../Item/Invite/InviteRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LastModifiedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Item/ListItem/ListItemRequestBuilder.php | 77 - ...stItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Permissions/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Grant/GrantPostRequestBody.php | 149 - .../Item/Grant/GrantRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/PermissionItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Permissions/PermissionsRequestBuilder.php | 133 - ...ssionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Preview/PreviewPostRequestBody.php | 136 - .../Item/Preview/PreviewRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Restore/RestorePostRequestBody.php | 137 - .../Item/Restore/RestoreRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RetentionLabelRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...nLabelRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SearchWithQ/SearchWithQRequestBuilder.php | 80 - ...hWithQRequestBuilderGetQueryParameters.php | 82 - ...QRequestBuilderGetRequestConfiguration.php | 45 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Reauthorize/ReauthorizeRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SubscriptionsRequestBuilder.php | 133 - ...ptionsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Thumbnails/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/ThumbnailSetItemRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...etItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...bnailsRequestBuilderGetQueryParameters.php | 82 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ValidatePermissionPostRequestBody.php | 136 - .../ValidatePermissionRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Versions/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Content/ContentRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...tRequestBuilderGetRequestConfiguration.php | 22 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../DriveItemVersionItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../RestoreVersionRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Versions/VersionsRequestBuilder.php | 133 - ...rsionsRequestBuilderGetQueryParameters.php | 82 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Application/ApplicationRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...cationRequestBuilderGetQueryParameters.php | 34 - ...nRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Calculate/CalculatePostRequestBody.php | 114 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CloseSessionRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Comments/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Replies/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Replies/RepliesRequestBuilder.php | 133 - ...epliesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WorkbookCommentItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ntItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../CreateSessionRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Abs/AbsPostRequestBody.php | 92 - .../Functions/Abs/AbsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AccrInt/AccrIntPostRequestBody.php | 92 - .../AccrInt/AccrIntRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AccrIntM/AccrIntMPostRequestBody.php | 92 - .../AccrIntM/AccrIntMRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Acos/AcosPostRequestBody.php | 92 - .../Functions/Acos/AcosRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Acosh/AcoshPostRequestBody.php | 92 - .../Functions/Acosh/AcoshRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Acot/AcotPostRequestBody.php | 92 - .../Functions/Acot/AcotRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Acoth/AcothPostRequestBody.php | 92 - .../Functions/Acoth/AcothRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AmorDegrc/AmorDegrcPostRequestBody.php | 92 - .../AmorDegrc/AmorDegrcRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AmorLinc/AmorLincPostRequestBody.php | 92 - .../AmorLinc/AmorLincRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Arabic/ArabicPostRequestBody.php | 92 - .../Functions/Arabic/ArabicRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Areas/AreasPostRequestBody.php | 92 - .../Functions/Areas/AreasRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Asc/AscPostRequestBody.php | 92 - .../Functions/Asc/AscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Asin/AsinPostRequestBody.php | 92 - .../Functions/Asin/AsinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Asinh/AsinhPostRequestBody.php | 92 - .../Functions/Asinh/AsinhRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Atan/AtanPostRequestBody.php | 92 - .../Functions/Atan/AtanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Atan2/Atan2PostRequestBody.php | 92 - .../Functions/Atan2/Atan2RequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Atanh/AtanhPostRequestBody.php | 92 - .../Functions/Atanh/AtanhRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AveDev/AveDevPostRequestBody.php | 92 - .../Functions/AveDev/AveDevRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Average/AveragePostRequestBody.php | 92 - .../Average/AverageRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AverageA/AverageAPostRequestBody.php | 92 - .../AverageA/AverageARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AverageIf/AverageIfPostRequestBody.php | 92 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AverageIfs/AverageIfsPostRequestBody.php | 92 - .../AverageIfs/AverageIfsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../BahtText/BahtTextPostRequestBody.php | 92 - .../BahtText/BahtTextRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Base/BasePostRequestBody.php | 92 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Base/EscapedBaseRequestBuilder.php | 77 - .../BesselI/BesselIPostRequestBody.php | 92 - .../BesselI/BesselIRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../BesselJ/BesselJPostRequestBody.php | 92 - .../BesselJ/BesselJRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../BesselK/BesselKPostRequestBody.php | 92 - .../BesselK/BesselKRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../BesselY/BesselYPostRequestBody.php | 92 - .../BesselY/BesselYRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Beta_Dist/Beta_DistPostRequestBody.php | 92 - .../Beta_Dist/Beta_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Beta_Inv/Beta_InvPostRequestBody.php | 92 - .../Beta_Inv/Beta_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bin2Dec/Bin2DecPostRequestBody.php | 92 - .../Bin2Dec/Bin2DecRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bin2Hex/Bin2HexPostRequestBody.php | 92 - .../Bin2Hex/Bin2HexRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bin2Oct/Bin2OctPostRequestBody.php | 92 - .../Bin2Oct/Bin2OctRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Binom_Dist/Binom_DistPostRequestBody.php | 92 - .../Binom_Dist/Binom_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Binom_Dist_RangePostRequestBody.php | 92 - .../Binom_Dist_RangeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Binom_Inv/Binom_InvPostRequestBody.php | 92 - .../Binom_Inv/Binom_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bitand/BitandPostRequestBody.php | 92 - .../Functions/Bitand/BitandRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bitlshift/BitlshiftPostRequestBody.php | 92 - .../Bitlshift/BitlshiftRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Bitor/BitorPostRequestBody.php | 92 - .../Functions/Bitor/BitorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bitrshift/BitrshiftPostRequestBody.php | 92 - .../Bitrshift/BitrshiftRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Bitxor/BitxorPostRequestBody.php | 92 - .../Functions/Bitxor/BitxorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Ceiling_MathPostRequestBody.php | 92 - .../Ceiling_MathRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Ceiling_PrecisePostRequestBody.php | 92 - .../Ceiling_PreciseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Char/CharPostRequestBody.php | 92 - .../Functions/Char/CharRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ChiSq_Dist/ChiSq_DistPostRequestBody.php | 92 - .../ChiSq_Dist/ChiSq_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ChiSq_Dist_RTPostRequestBody.php | 92 - .../ChiSq_Dist_RTRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ChiSq_Inv/ChiSq_InvPostRequestBody.php | 92 - .../ChiSq_Inv/ChiSq_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ChiSq_Inv_RTPostRequestBody.php | 92 - .../ChiSq_Inv_RTRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Choose/ChoosePostRequestBody.php | 92 - .../Functions/Choose/ChooseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Clean/CleanPostRequestBody.php | 92 - .../Functions/Clean/CleanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Code/CodePostRequestBody.php | 92 - .../Functions/Code/CodeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Columns/ColumnsPostRequestBody.php | 92 - .../Columns/ColumnsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Combin/CombinPostRequestBody.php | 92 - .../Functions/Combin/CombinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Combina/CombinaPostRequestBody.php | 92 - .../Combina/CombinaRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Complex/ComplexPostRequestBody.php | 92 - .../Complex/ComplexRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ConcatenatePostRequestBody.php | 92 - .../Concatenate/ConcatenateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Confidence_NormPostRequestBody.php | 92 - .../Confidence_NormRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Confidence_TPostRequestBody.php | 92 - .../Confidence_TRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Convert/ConvertPostRequestBody.php | 92 - .../Convert/ConvertRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Cos/CosPostRequestBody.php | 92 - .../Functions/Cos/CosRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Cosh/CoshPostRequestBody.php | 92 - .../Functions/Cosh/CoshRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Cot/CotPostRequestBody.php | 92 - .../Functions/Cot/CotRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Coth/CothPostRequestBody.php | 92 - .../Functions/Coth/CothRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Count/CountPostRequestBody.php | 92 - .../Functions/Count/CountRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CountA/CountAPostRequestBody.php | 92 - .../Functions/CountA/CountARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CountBlank/CountBlankPostRequestBody.php | 92 - .../CountBlank/CountBlankRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CountIf/CountIfPostRequestBody.php | 92 - .../CountIf/CountIfRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CountIfs/CountIfsPostRequestBody.php | 92 - .../CountIfs/CountIfsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupDayBs/CoupDayBsPostRequestBody.php | 92 - .../CoupDayBs/CoupDayBsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupDays/CoupDaysPostRequestBody.php | 92 - .../CoupDays/CoupDaysRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupDaysNc/CoupDaysNcPostRequestBody.php | 92 - .../CoupDaysNc/CoupDaysNcRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupNcd/CoupNcdPostRequestBody.php | 92 - .../CoupNcd/CoupNcdRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupNum/CoupNumPostRequestBody.php | 92 - .../CoupNum/CoupNumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CoupPcd/CoupPcdPostRequestBody.php | 92 - .../CoupPcd/CoupPcdRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Csc/CscPostRequestBody.php | 92 - .../Functions/Csc/CscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Csch/CschPostRequestBody.php | 92 - .../Functions/Csch/CschRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CumIPmt/CumIPmtPostRequestBody.php | 92 - .../CumIPmt/CumIPmtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../CumPrinc/CumPrincPostRequestBody.php | 92 - .../CumPrinc/CumPrincRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Date/DatePostRequestBody.php | 92 - .../Functions/Date/DateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Datevalue/DatevaluePostRequestBody.php | 92 - .../Datevalue/DatevalueRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Daverage/DaveragePostRequestBody.php | 92 - .../Daverage/DaverageRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Day/DayPostRequestBody.php | 92 - .../Functions/Day/DayRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Days/DaysPostRequestBody.php | 92 - .../Functions/Days/DaysRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Days360/Days360PostRequestBody.php | 92 - .../Days360/Days360RequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Db/DbPostRequestBody.php | 92 - .../Functions/Db/DbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dbcs/DbcsPostRequestBody.php | 92 - .../Functions/Dbcs/DbcsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dcount/DcountPostRequestBody.php | 92 - .../Functions/Dcount/DcountRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DcountA/DcountAPostRequestBody.php | 92 - .../DcountA/DcountARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Ddb/DdbPostRequestBody.php | 92 - .../Functions/Ddb/DdbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dec2Bin/Dec2BinPostRequestBody.php | 92 - .../Dec2Bin/Dec2BinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dec2Hex/Dec2HexPostRequestBody.php | 92 - .../Dec2Hex/Dec2HexRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dec2Oct/Dec2OctPostRequestBody.php | 92 - .../Dec2Oct/Dec2OctRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Decimal/DecimalPostRequestBody.php | 92 - .../Decimal/DecimalRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Degrees/DegreesPostRequestBody.php | 92 - .../Degrees/DegreesRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Delta/DeltaPostRequestBody.php | 92 - .../Functions/Delta/DeltaRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/DevSq/DevSqPostRequestBody.php | 92 - .../Functions/DevSq/DevSqRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dget/DgetPostRequestBody.php | 92 - .../Functions/Dget/DgetRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Disc/DiscPostRequestBody.php | 92 - .../Functions/Disc/DiscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dmax/DmaxPostRequestBody.php | 92 - .../Functions/Dmax/DmaxRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dmin/DminPostRequestBody.php | 92 - .../Functions/Dmin/DminRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dollar/DollarPostRequestBody.php | 92 - .../Functions/Dollar/DollarRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DollarDe/DollarDePostRequestBody.php | 92 - .../DollarDe/DollarDeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DollarFr/DollarFrPostRequestBody.php | 92 - .../DollarFr/DollarFrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Dproduct/DproductPostRequestBody.php | 92 - .../Dproduct/DproductRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DstDev/DstDevPostRequestBody.php | 92 - .../Functions/DstDev/DstDevRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DstDevP/DstDevPPostRequestBody.php | 92 - .../DstDevP/DstDevPRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dsum/DsumPostRequestBody.php | 92 - .../Functions/Dsum/DsumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Duration/DurationPostRequestBody.php | 92 - .../Duration/DurationRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Dvar/DvarPostRequestBody.php | 92 - .../Functions/Dvar/DvarRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/DvarP/DvarPPostRequestBody.php | 92 - .../Functions/DvarP/DvarPRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Ecma_CeilingPostRequestBody.php | 92 - .../Ecma_CeilingRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Edate/EdatePostRequestBody.php | 92 - .../Functions/Edate/EdateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Effect/EffectPostRequestBody.php | 92 - .../Functions/Effect/EffectRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../EoMonth/EoMonthPostRequestBody.php | 92 - .../EoMonth/EoMonthRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Erf/ErfPostRequestBody.php | 92 - .../Functions/Erf/ErfRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ErfC/ErfCPostRequestBody.php | 92 - .../Functions/ErfC/ErfCRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ErfC_PrecisePostRequestBody.php | 92 - .../ErfC_PreciseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Erf_PrecisePostRequestBody.php | 92 - .../Erf_Precise/Erf_PreciseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Error_Type/Error_TypePostRequestBody.php | 92 - .../Error_Type/Error_TypeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../EscapedAnd/AndPostRequestBody.php | 92 - .../EscapedAnd/AndRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/EscapedIf/IfPostRequestBody.php | 92 - .../Functions/EscapedIf/IfRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/EscapedOr/OrPostRequestBody.php | 92 - .../Functions/EscapedOr/OrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../EscapedXor/XorPostRequestBody.php | 92 - .../EscapedXor/XorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../EscapedYield/YieldPostRequestBody.php | 92 - .../EscapedYield/YieldRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Even/EvenPostRequestBody.php | 92 - .../Functions/Even/EvenRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Exact/ExactPostRequestBody.php | 92 - .../Functions/Exact/ExactRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Exp/ExpPostRequestBody.php | 92 - .../Functions/Exp/ExpRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Expon_Dist/Expon_DistPostRequestBody.php | 92 - .../Expon_Dist/Expon_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../F_Dist/F_DistPostRequestBody.php | 92 - .../Functions/F_Dist/F_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../F_Dist_RT/F_Dist_RTPostRequestBody.php | 92 - .../F_Dist_RT/F_Dist_RTRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/F_Inv/F_InvPostRequestBody.php | 92 - .../Functions/F_Inv/F_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../F_Inv_RT/F_Inv_RTPostRequestBody.php | 92 - .../F_Inv_RT/F_Inv_RTRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Fact/FactPostRequestBody.php | 92 - .../Functions/Fact/FactRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../FactDouble/FactDoublePostRequestBody.php | 92 - .../FactDouble/FactDoubleRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/False/FalseRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Find/FindPostRequestBody.php | 92 - .../Functions/Find/FindRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/FindB/FindBPostRequestBody.php | 92 - .../Functions/FindB/FindBRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Fisher/FisherPostRequestBody.php | 92 - .../Functions/Fisher/FisherRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../FisherInv/FisherInvPostRequestBody.php | 92 - .../FisherInv/FisherInvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Fixed/FixedPostRequestBody.php | 92 - .../Functions/Fixed/FixedRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Floor_Math/Floor_MathPostRequestBody.php | 92 - .../Floor_Math/Floor_MathRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Floor_PrecisePostRequestBody.php | 92 - .../Floor_PreciseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/FunctionsRequestBuilder.php | 3072 ----------------- ...questBuilderDeleteRequestConfiguration.php | 22 - ...ctionsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Functions/Fv/FvPostRequestBody.php | 92 - .../Functions/Fv/FvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Fvschedule/FvschedulePostRequestBody.php | 92 - .../Fvschedule/FvscheduleRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Gamma/GammaPostRequestBody.php | 92 - .../Functions/Gamma/GammaRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GammaLn/GammaLnPostRequestBody.php | 92 - .../GammaLn/GammaLnRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GammaLn_PrecisePostRequestBody.php | 92 - .../GammaLn_PreciseRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Gamma_Dist/Gamma_DistPostRequestBody.php | 92 - .../Gamma_Dist/Gamma_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Gamma_Inv/Gamma_InvPostRequestBody.php | 92 - .../Gamma_Inv/Gamma_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Gauss/GaussPostRequestBody.php | 92 - .../Functions/Gauss/GaussRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Gcd/GcdPostRequestBody.php | 92 - .../Functions/Gcd/GcdRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GeStep/GeStepPostRequestBody.php | 92 - .../Functions/GeStep/GeStepRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../GeoMean/GeoMeanPostRequestBody.php | 92 - .../GeoMean/GeoMeanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../HarMean/HarMeanPostRequestBody.php | 92 - .../HarMean/HarMeanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Hex2Bin/Hex2BinPostRequestBody.php | 92 - .../Hex2Bin/Hex2BinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Hex2Dec/Hex2DecPostRequestBody.php | 92 - .../Hex2Dec/Hex2DecRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Hex2Oct/Hex2OctPostRequestBody.php | 92 - .../Hex2Oct/Hex2OctRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Hlookup/HlookupPostRequestBody.php | 92 - .../Hlookup/HlookupRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Hour/HourPostRequestBody.php | 92 - .../Functions/Hour/HourRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../HypGeom_DistPostRequestBody.php | 92 - .../HypGeom_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Hyperlink/HyperlinkPostRequestBody.php | 92 - .../Hyperlink/HyperlinkRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImAbs/ImAbsPostRequestBody.php | 92 - .../Functions/ImAbs/ImAbsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImArgument/ImArgumentPostRequestBody.php | 92 - .../ImArgument/ImArgumentRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImConjugatePostRequestBody.php | 92 - .../ImConjugate/ImConjugateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImCos/ImCosPostRequestBody.php | 92 - .../Functions/ImCos/ImCosRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImCosh/ImCoshPostRequestBody.php | 92 - .../Functions/ImCosh/ImCoshRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImCot/ImCotPostRequestBody.php | 92 - .../Functions/ImCot/ImCotRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImCsc/ImCscPostRequestBody.php | 92 - .../Functions/ImCsc/ImCscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImCsch/ImCschPostRequestBody.php | 92 - .../Functions/ImCsch/ImCschRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImDiv/ImDivPostRequestBody.php | 92 - .../Functions/ImDiv/ImDivRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImExp/ImExpPostRequestBody.php | 92 - .../Functions/ImExp/ImExpRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImLn/ImLnPostRequestBody.php | 92 - .../Functions/ImLn/ImLnRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImLog10/ImLog10PostRequestBody.php | 92 - .../ImLog10/ImLog10RequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImLog2/ImLog2PostRequestBody.php | 92 - .../Functions/ImLog2/ImLog2RequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImPower/ImPowerPostRequestBody.php | 92 - .../ImPower/ImPowerRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImProduct/ImProductPostRequestBody.php | 92 - .../ImProduct/ImProductRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImReal/ImRealPostRequestBody.php | 92 - .../Functions/ImReal/ImRealRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImSec/ImSecPostRequestBody.php | 92 - .../Functions/ImSec/ImSecRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImSech/ImSechPostRequestBody.php | 92 - .../Functions/ImSech/ImSechRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImSin/ImSinPostRequestBody.php | 92 - .../Functions/ImSin/ImSinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImSinh/ImSinhPostRequestBody.php | 92 - .../Functions/ImSinh/ImSinhRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ImSqrt/ImSqrtPostRequestBody.php | 92 - .../Functions/ImSqrt/ImSqrtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImSub/ImSubPostRequestBody.php | 92 - .../Functions/ImSub/ImSubRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImSum/ImSumPostRequestBody.php | 92 - .../Functions/ImSum/ImSumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/ImTan/ImTanPostRequestBody.php | 92 - .../Functions/ImTan/ImTanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Imaginary/ImaginaryPostRequestBody.php | 92 - .../Imaginary/ImaginaryRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Int/IntPostRequestBody.php | 92 - .../Functions/Int/IntRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IntRate/IntRatePostRequestBody.php | 92 - .../IntRate/IntRateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Ipmt/IpmtPostRequestBody.php | 92 - .../Functions/Ipmt/IpmtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Irr/IrrPostRequestBody.php | 92 - .../Functions/Irr/IrrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/IsErr/IsErrPostRequestBody.php | 92 - .../Functions/IsErr/IsErrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsError/IsErrorPostRequestBody.php | 92 - .../IsError/IsErrorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsEven/IsEvenPostRequestBody.php | 92 - .../Functions/IsEven/IsEvenRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsFormula/IsFormulaPostRequestBody.php | 92 - .../IsFormula/IsFormulaRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsLogical/IsLogicalPostRequestBody.php | 92 - .../IsLogical/IsLogicalRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/IsNA/IsNAPostRequestBody.php | 92 - .../Functions/IsNA/IsNARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsNonText/IsNonTextPostRequestBody.php | 92 - .../IsNonText/IsNonTextRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsNumber/IsNumberPostRequestBody.php | 92 - .../IsNumber/IsNumberRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/IsOdd/IsOddPostRequestBody.php | 92 - .../Functions/IsOdd/IsOddRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsText/IsTextPostRequestBody.php | 92 - .../Functions/IsText/IsTextRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../IsoWeekNum/IsoWeekNumPostRequestBody.php | 92 - .../IsoWeekNum/IsoWeekNumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Iso_CeilingPostRequestBody.php | 92 - .../Iso_Ceiling/Iso_CeilingRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Ispmt/IspmtPostRequestBody.php | 92 - .../Functions/Ispmt/IspmtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Isref/IsrefPostRequestBody.php | 92 - .../Functions/Isref/IsrefRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Kurt/KurtPostRequestBody.php | 92 - .../Functions/Kurt/KurtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Large/LargePostRequestBody.php | 92 - .../Functions/Large/LargeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Lcm/LcmPostRequestBody.php | 92 - .../Functions/Lcm/LcmRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Left/LeftPostRequestBody.php | 92 - .../Functions/Left/LeftRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Leftb/LeftbPostRequestBody.php | 92 - .../Functions/Leftb/LeftbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Len/LenPostRequestBody.php | 92 - .../Functions/Len/LenRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Lenb/LenbPostRequestBody.php | 92 - .../Functions/Lenb/LenbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Ln/LnPostRequestBody.php | 92 - .../Functions/Ln/LnRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Log/LogPostRequestBody.php | 92 - .../Functions/Log/LogRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Log10/Log10PostRequestBody.php | 92 - .../Functions/Log10/Log10RequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LogNorm_DistPostRequestBody.php | 92 - .../LogNorm_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LogNorm_InvPostRequestBody.php | 92 - .../LogNorm_Inv/LogNorm_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Lookup/LookupPostRequestBody.php | 92 - .../Functions/Lookup/LookupRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Lower/LowerPostRequestBody.php | 92 - .../Functions/Lower/LowerRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Match/MatchPostRequestBody.php | 92 - .../Functions/Match/MatchRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Max/MaxPostRequestBody.php | 92 - .../Functions/Max/MaxRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/MaxA/MaxAPostRequestBody.php | 92 - .../Functions/MaxA/MaxARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Mduration/MdurationPostRequestBody.php | 92 - .../Mduration/MdurationRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Median/MedianPostRequestBody.php | 92 - .../Functions/Median/MedianRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Mid/MidPostRequestBody.php | 92 - .../Functions/Mid/MidRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Midb/MidbPostRequestBody.php | 92 - .../Functions/Midb/MidbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Min/MinPostRequestBody.php | 92 - .../Functions/Min/MinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/MinA/MinAPostRequestBody.php | 92 - .../Functions/MinA/MinARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Minute/MinutePostRequestBody.php | 92 - .../Functions/Minute/MinuteRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Mirr/MirrPostRequestBody.php | 92 - .../Functions/Mirr/MirrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Mod/ModPostRequestBody.php | 92 - .../Functions/Mod/ModRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Month/MonthPostRequestBody.php | 92 - .../Functions/Month/MonthRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Mround/MroundPostRequestBody.php | 92 - .../Functions/Mround/MroundRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../MultiNomialPostRequestBody.php | 92 - .../MultiNomial/MultiNomialRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Workbook/Functions/N/NPostRequestBody.php | 92 - .../Workbook/Functions/N/NRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Na/NaRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../NegBinom_DistPostRequestBody.php | 92 - .../NegBinom_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../NetworkDaysPostRequestBody.php | 92 - .../NetworkDays/NetworkDaysRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../NetworkDays_IntlPostRequestBody.php | 92 - .../NetworkDays_IntlRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Nominal/NominalPostRequestBody.php | 92 - .../Nominal/NominalRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Norm_Dist/Norm_DistPostRequestBody.php | 92 - .../Norm_Dist/Norm_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Norm_Inv/Norm_InvPostRequestBody.php | 92 - .../Norm_Inv/Norm_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Norm_S_DistPostRequestBody.php | 92 - .../Norm_S_Dist/Norm_S_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Norm_S_Inv/Norm_S_InvPostRequestBody.php | 92 - .../Norm_S_Inv/Norm_S_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Not/NotPostRequestBody.php | 92 - .../Functions/Not/NotRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Now/NowRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Nper/NperPostRequestBody.php | 92 - .../Functions/Nper/NperRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Npv/NpvPostRequestBody.php | 92 - .../Functions/Npv/NpvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../NumberValuePostRequestBody.php | 92 - .../NumberValue/NumberValueRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Oct2Bin/Oct2BinPostRequestBody.php | 92 - .../Oct2Bin/Oct2BinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Oct2Dec/Oct2DecPostRequestBody.php | 92 - .../Oct2Dec/Oct2DecRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Oct2Hex/Oct2HexPostRequestBody.php | 92 - .../Oct2Hex/Oct2HexRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Odd/OddPostRequestBody.php | 92 - .../Functions/Odd/OddRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../OddFPrice/OddFPricePostRequestBody.php | 92 - .../OddFPrice/OddFPriceRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../OddFYield/OddFYieldPostRequestBody.php | 92 - .../OddFYield/OddFYieldRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../OddLPrice/OddLPricePostRequestBody.php | 92 - .../OddLPrice/OddLPriceRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../OddLYield/OddLYieldPostRequestBody.php | 92 - .../OddLYield/OddLYieldRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Pduration/PdurationPostRequestBody.php | 92 - .../Pduration/PdurationRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PercentRank_ExcPostRequestBody.php | 92 - .../PercentRank_ExcRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PercentRank_IncPostRequestBody.php | 92 - .../PercentRank_IncRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Percentile_ExcPostRequestBody.php | 92 - .../Percentile_ExcRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Percentile_IncPostRequestBody.php | 92 - .../Percentile_IncRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Permut/PermutPostRequestBody.php | 92 - .../Functions/Permut/PermutRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PermutationaPostRequestBody.php | 92 - .../PermutationaRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Phi/PhiPostRequestBody.php | 92 - .../Functions/Phi/PhiRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Pi/PiRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Pmt/PmtPostRequestBody.php | 92 - .../Functions/Pmt/PmtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Poisson_DistPostRequestBody.php | 92 - .../Poisson_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Power/PowerPostRequestBody.php | 92 - .../Functions/Power/PowerRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Ppmt/PpmtPostRequestBody.php | 92 - .../Functions/Ppmt/PpmtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Price/PricePostRequestBody.php | 92 - .../Functions/Price/PriceRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PriceDisc/PriceDiscPostRequestBody.php | 92 - .../PriceDisc/PriceDiscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PriceMat/PriceMatPostRequestBody.php | 92 - .../PriceMat/PriceMatRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Product/ProductPostRequestBody.php | 92 - .../Product/ProductRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Proper/ProperPostRequestBody.php | 92 - .../Functions/Proper/ProperRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Pv/PvPostRequestBody.php | 92 - .../Functions/Pv/PvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Quartile_ExcPostRequestBody.php | 92 - .../Quartile_ExcRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Quartile_IncPostRequestBody.php | 92 - .../Quartile_IncRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Quotient/QuotientPostRequestBody.php | 92 - .../Quotient/QuotientRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Radians/RadiansPostRequestBody.php | 92 - .../Radians/RadiansRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Rand/RandRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RandBetweenPostRequestBody.php | 92 - .../RandBetween/RandBetweenRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Rank_Avg/Rank_AvgPostRequestBody.php | 92 - .../Rank_Avg/Rank_AvgRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Rank_Eq/Rank_EqPostRequestBody.php | 92 - .../Rank_Eq/Rank_EqRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Rate/RatePostRequestBody.php | 92 - .../Functions/Rate/RateRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Received/ReceivedPostRequestBody.php | 92 - .../Received/ReceivedRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Replace/ReplacePostRequestBody.php | 92 - .../Replace/ReplaceRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ReplaceB/ReplaceBPostRequestBody.php | 92 - .../ReplaceB/ReplaceBRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Rept/ReptPostRequestBody.php | 92 - .../Functions/Rept/ReptRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Right/RightPostRequestBody.php | 92 - .../Functions/Right/RightRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Rightb/RightbPostRequestBody.php | 92 - .../Functions/Rightb/RightbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Roman/RomanPostRequestBody.php | 92 - .../Functions/Roman/RomanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Round/RoundPostRequestBody.php | 92 - .../Functions/Round/RoundRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RoundDown/RoundDownPostRequestBody.php | 92 - .../RoundDown/RoundDownRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RoundUp/RoundUpPostRequestBody.php | 92 - .../RoundUp/RoundUpRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Rows/RowsPostRequestBody.php | 92 - .../Functions/Rows/RowsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Rri/RriPostRequestBody.php | 92 - .../Functions/Rri/RriRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sec/SecPostRequestBody.php | 92 - .../Functions/Sec/SecRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sech/SechPostRequestBody.php | 92 - .../Functions/Sech/SechRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Second/SecondPostRequestBody.php | 92 - .../Functions/Second/SecondRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SeriesSum/SeriesSumPostRequestBody.php | 92 - .../SeriesSum/SeriesSumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sheet/SheetPostRequestBody.php | 92 - .../Functions/Sheet/SheetRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sheets/SheetsPostRequestBody.php | 92 - .../Functions/Sheets/SheetsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sign/SignPostRequestBody.php | 92 - .../Functions/Sign/SignRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sin/SinPostRequestBody.php | 92 - .../Functions/Sin/SinRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sinh/SinhPostRequestBody.php | 92 - .../Functions/Sinh/SinhRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Skew/SkewPostRequestBody.php | 92 - .../Functions/Skew/SkewRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Skew_p/Skew_pPostRequestBody.php | 92 - .../Functions/Skew_p/Skew_pRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sln/SlnPostRequestBody.php | 92 - .../Functions/Sln/SlnRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Small/SmallPostRequestBody.php | 92 - .../Functions/Small/SmallRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sqrt/SqrtPostRequestBody.php | 92 - .../Functions/Sqrt/SqrtRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SqrtPi/SqrtPiPostRequestBody.php | 92 - .../Functions/SqrtPi/SqrtPiRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../StDevA/StDevAPostRequestBody.php | 92 - .../Functions/StDevA/StDevARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../StDevPA/StDevPAPostRequestBody.php | 92 - .../StDevPA/StDevPARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../StDev_P/StDev_PPostRequestBody.php | 92 - .../StDev_P/StDev_PRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../StDev_S/StDev_SPostRequestBody.php | 92 - .../StDev_S/StDev_SRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../StandardizePostRequestBody.php | 92 - .../Standardize/StandardizeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Substitute/SubstitutePostRequestBody.php | 92 - .../Substitute/SubstituteRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Subtotal/SubtotalPostRequestBody.php | 92 - .../Subtotal/SubtotalRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Sum/SumPostRequestBody.php | 92 - .../Functions/Sum/SumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/SumIf/SumIfPostRequestBody.php | 92 - .../Functions/SumIf/SumIfRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SumIfs/SumIfsPostRequestBody.php | 92 - .../Functions/SumIfs/SumIfsRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/SumSq/SumSqPostRequestBody.php | 92 - .../Functions/SumSq/SumSqRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Syd/SydPostRequestBody.php | 92 - .../Functions/Syd/SydRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Workbook/Functions/T/TPostRequestBody.php | 92 - .../Workbook/Functions/T/TRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../T_Dist/T_DistPostRequestBody.php | 92 - .../Functions/T_Dist/T_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../T_Dist_2T/T_Dist_2TPostRequestBody.php | 92 - .../T_Dist_2T/T_Dist_2TRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../T_Dist_RT/T_Dist_RTPostRequestBody.php | 92 - .../T_Dist_RT/T_Dist_RTRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/T_Inv/T_InvPostRequestBody.php | 92 - .../Functions/T_Inv/T_InvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../T_Inv_2T/T_Inv_2TPostRequestBody.php | 92 - .../T_Inv_2T/T_Inv_2TRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Tan/TanPostRequestBody.php | 92 - .../Functions/Tan/TanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Tanh/TanhPostRequestBody.php | 92 - .../Functions/Tanh/TanhRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../TbillEq/TbillEqPostRequestBody.php | 92 - .../TbillEq/TbillEqRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../TbillPrice/TbillPricePostRequestBody.php | 92 - .../TbillPrice/TbillPriceRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../TbillYield/TbillYieldPostRequestBody.php | 92 - .../TbillYield/TbillYieldRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Text/TextPostRequestBody.php | 92 - .../Functions/Text/TextRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Time/TimePostRequestBody.php | 92 - .../Functions/Time/TimeRequestBuilder.php | 77 - .../Timevalue/TimevaluePostRequestBody.php | 92 - .../Timevalue/TimevalueRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Today/TodayRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Trim/TrimPostRequestBody.php | 92 - .../Functions/Trim/TrimRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../TrimMean/TrimMeanPostRequestBody.php | 92 - .../TrimMean/TrimMeanRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/True/TrueRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Trunc/TruncPostRequestBody.php | 92 - .../Functions/Trunc/TruncRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Type/TypePostRequestBody.php | 92 - .../Functions/Type/TypeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Unichar/UnicharPostRequestBody.php | 92 - .../Unichar/UnicharRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Unicode/UnicodePostRequestBody.php | 92 - .../Unicode/UnicodeRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Upper/UpperPostRequestBody.php | 92 - .../Functions/Upper/UpperRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Usdollar/UsdollarPostRequestBody.php | 92 - .../Usdollar/UsdollarRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Value/ValuePostRequestBody.php | 92 - .../Functions/Value/ValueRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/VarA/VarAPostRequestBody.php | 92 - .../Functions/VarA/VarARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/VarPA/VarPAPostRequestBody.php | 92 - .../Functions/VarPA/VarPARequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Var_P/Var_PPostRequestBody.php | 92 - .../Functions/Var_P/Var_PRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Var_S/Var_SPostRequestBody.php | 92 - .../Functions/Var_S/Var_SRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Vdb/VdbPostRequestBody.php | 92 - .../Functions/Vdb/VdbRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Vlookup/VlookupPostRequestBody.php | 92 - .../Vlookup/VlookupRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WeekNum/WeekNumPostRequestBody.php | 92 - .../WeekNum/WeekNumRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Weekday/WeekdayPostRequestBody.php | 92 - .../Weekday/WeekdayRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Weibull_DistPostRequestBody.php | 92 - .../Weibull_DistRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WorkDay/WorkDayPostRequestBody.php | 92 - .../WorkDay/WorkDayRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WorkDay_IntlPostRequestBody.php | 92 - .../WorkDay_IntlRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Xirr/XirrPostRequestBody.php | 92 - .../Functions/Xirr/XirrRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Xnpv/XnpvPostRequestBody.php | 92 - .../Functions/Xnpv/XnpvRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Functions/Year/YearPostRequestBody.php | 92 - .../Functions/Year/YearRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../YearFrac/YearFracPostRequestBody.php | 92 - .../YearFrac/YearFracRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../YieldDisc/YieldDiscPostRequestBody.php | 92 - .../YieldDisc/YieldDiscRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../YieldMat/YieldMatPostRequestBody.php | 92 - .../YieldMat/YieldMatRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Z_Test/Z_TestPostRequestBody.php | 92 - .../Functions/Z_Test/Z_TestRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Workbook/Names/Add/AddPostRequestBody.php | 136 - .../Workbook/Names/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AddFormulaLocalRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Names/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Names/Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookNamedItemItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Workbook/Names/NamesRequestBuilder.php | 149 - .../NamesRequestBuilderGetQueryParameters.php | 82 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WorkbookOperationItemRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...onItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Operations/OperationsRequestBuilder.php | 125 - ...ationsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RefreshSessionRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...ssionInfoResourceWithKeyRequestBuilder.php | 77 - ...yRequestBuilderGetRequestConfiguration.php | 22 - ...owOperationResultWithKeyRequestBuilder.php | 78 - ...yRequestBuilderGetRequestConfiguration.php | 22 - .../Tables/Add/AddPostRequestBody.php | 136 - .../Workbook/Tables/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Tables/Count/CountGetResponse.php | 114 - .../Tables/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../ClearFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/Add/AddPostRequestBody.php | 136 - .../Item/Columns/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/ColumnsRequestBuilder.php | 151 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/Count/CountGetResponse.php | 114 - .../Columns/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Filter/Apply/ApplyPostRequestBody.php | 115 - .../Item/Filter/Apply/ApplyRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyBottomItemsFilterPostRequestBody.php | 114 - .../ApplyBottomItemsFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...pplyBottomPercentFilterPostRequestBody.php | 114 - ...ApplyBottomPercentFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyCellColorFilterPostRequestBody.php | 114 - .../ApplyCellColorFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyCustomFilterPostRequestBody.php | 158 - .../ApplyCustomFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyDynamicFilterPostRequestBody.php | 114 - .../ApplyDynamicFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyFontColorFilterPostRequestBody.php | 114 - .../ApplyFontColorFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyIconFilterPostRequestBody.php | 115 - .../ApplyIconFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyTopItemsFilterPostRequestBody.php | 114 - .../ApplyTopItemsFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyTopPercentFilterPostRequestBody.php | 114 - .../ApplyTopPercentFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyValuesFilterPostRequestBody.php | 92 - .../ApplyValuesFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Filter/FilterRequestBuilder.php | 240 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...FilterRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Filter/FilterRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FilterRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 118 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ConvertToRangeRequestBuilder.php | 75 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Tables/Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ReapplyFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Rows/Add/AddPostRequestBody.php | 114 - .../Item/Rows/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Rows/Count/CountGetResponse.php | 114 - .../Item/Rows/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../Rows/Item/Range/RangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookTableRowItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...owItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 86 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Tables/Item/Rows/RowsRequestBuilder.php | 151 - .../RowsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Sort/Apply/ApplyPostRequestBody.php | 162 - .../Item/Sort/Apply/ApplyRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Sort/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sort/Reapply/ReapplyRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Tables/Item/Sort/SortRequestBuilder.php | 168 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../SortRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Item/WorkbookTableItemRequestBuilder.php | 232 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...leItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../ClearFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Columns/ColumnsRequestBuilder.php | 113 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ConvertToRangeRequestBuilder.php | 75 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 165 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ReapplyFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Rows/RowsRequestBuilder.php | 113 - .../RowsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sort/SortRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../SortRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Workbook/Tables/TablesRequestBuilder.php | 151 - ...TablesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Workbook/WorkbookRequestBuilder.php | 244 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...rkbookRequestBuilderGetQueryParameters.php | 34 - .../Worksheets/Add/AddPostRequestBody.php | 114 - .../Worksheets/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Worksheets/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../CellWithRowWithColumnRequestBuilder.php | 80 - ...nRequestBuilderGetRequestConfiguration.php | 22 - .../Item/Charts/Add/AddPostRequestBody.php | 136 - .../Item/Charts/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Charts/ChartsRequestBuilder.php | 161 - ...ChartsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Charts/Count/CountGetResponse.php | 114 - .../Item/Charts/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../Charts/Item/Axes/AxesRequestBuilder.php | 168 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../AxesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ryAxisRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MajorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MinorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/TitleRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MajorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MinorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SeriesAxis/SeriesAxisRequestBuilder.php | 176 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...esAxisRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SeriesAxis/Title/TitleRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ValueAxis/Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MajorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../MinorGridlinesRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...dlinesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ValueAxis/Title/TitleRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ValueAxis/ValueAxisRequestBuilder.php | 176 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ueAxisRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../DataLabels/DataLabelsRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LabelsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Item/Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Charts/Item/Image/ImageGetResponse.php | 114 - .../Charts/Item/Image/ImageRequestBuilder.php | 73 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthGetResponse.php | 114 - .../ImageWithWidthRequestBuilder.php | 76 - ...hRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthWithHeightGetResponse.php | 114 - ...ImageWithWidthWithHeightRequestBuilder.php | 78 - ...tRequestBuilderGetRequestConfiguration.php | 22 - ...thWithHeightWithFittingModeGetResponse.php | 114 - ...ithHeightWithFittingModeRequestBuilder.php | 80 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Legend/Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Legend/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Legend/Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Item/Legend/LegendRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LegendRequestBuilderGetQueryParameters.php | 34 - ...dRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Item/Series/Count/CountGetResponse.php | 114 - .../Item/Series/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/Line/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/Line/LineRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../LineRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Item/Points/Count/CountGetResponse.php | 114 - .../Item/Points/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Format/FormatRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ntItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 86 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Item/Points/PointsRequestBuilder.php | 143 - ...PointsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...esItemRequestBuilderGetQueryParameters.php | 34 - .../Format/FormatRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 94 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Points/PointsRequestBuilder.php | 113 - ...PointsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Series/SeriesRequestBuilder.php | 143 - ...SeriesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/SetData/SetDataRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SetPositionPostRequestBody.php | 92 - .../SetPosition/SetPositionRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Format/Fill/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Title/Format/Fill/FillRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FillRequestBuilderGetQueryParameters.php | 34 - ...lRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../SetSolidColorPostRequestBody.php | 114 - .../SetSolidColorRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Title/Format/Font/FontRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../FontRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Title/Format/FormatRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Charts/Item/Title/TitleRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Item/WorkbookChartItemRequestBuilder.php | 257 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...rtItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Axes/AxesRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../AxesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../DataLabels/DataLabelsRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LabelsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Image/ImageGetResponse.php | 114 - .../Image/ImageRequestBuilder.php | 73 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthGetResponse.php | 114 - .../ImageWithWidthRequestBuilder.php | 76 - ...hRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthWithHeightGetResponse.php | 114 - ...ImageWithWidthWithHeightRequestBuilder.php | 78 - ...tRequestBuilderGetRequestConfiguration.php | 22 - ...thWithHeightWithFittingModeGetResponse.php | 114 - ...ithHeightWithFittingModeRequestBuilder.php | 80 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 191 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Legend/LegendRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LegendRequestBuilderGetQueryParameters.php | 34 - ...dRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Series/SeriesRequestBuilder.php | 113 - ...SeriesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SetData/SetDataPostRequestBody.php | 114 - .../SetData/SetDataRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SetPositionPostRequestBody.php | 92 - .../SetPosition/SetPositionRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../ItemWithName/Axes/AxesRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../AxesRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../DataLabels/DataLabelsRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LabelsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Format/FormatRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FormatRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemWithName/Image/ImageGetResponse.php | 114 - .../Image/ImageRequestBuilder.php | 73 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthGetResponse.php | 114 - .../ImageWithWidthRequestBuilder.php | 76 - ...hRequestBuilderGetRequestConfiguration.php | 22 - .../ImageWithWidthWithHeightGetResponse.php | 114 - ...ImageWithWidthWithHeightRequestBuilder.php | 78 - ...tRequestBuilderGetRequestConfiguration.php | 22 - ...thWithHeightWithFittingModeGetResponse.php | 114 - ...ithHeightWithFittingModeRequestBuilder.php | 80 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemWithNameRequestBuilder.php | 190 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Legend/LegendRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...LegendRequestBuilderGetQueryParameters.php | 34 - ...dRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Series/SeriesRequestBuilder.php | 113 - ...SeriesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SetData/SetDataPostRequestBody.php | 114 - .../SetData/SetDataRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../SetPositionPostRequestBody.php | 92 - .../SetPosition/SetPositionRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../TitleRequestBuilderGetQueryParameters.php | 34 - ...eRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Names/Add/AddPostRequestBody.php | 136 - .../Item/Names/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../AddFormulaLocalPostRequestBody.php | 158 - .../AddFormulaLocalRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Names/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Names/Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookNamedItemItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Names/NamesRequestBuilder.php | 149 - .../NamesRequestBuilderGetQueryParameters.php | 82 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../PivotTables/Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Refresh/RefreshRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../WorkbookPivotTableItemRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../PivotTables/PivotTablesRequestBuilder.php | 141 - ...TablesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../RefreshAll/RefreshAllRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Protect/ProtectPostRequestBody.php | 115 - .../Protect/ProtectRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Protection/ProtectionRequestBuilder.php | 160 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ectionRequestBuilderGetQueryParameters.php | 34 - ...nRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Range/RangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../RangeWithAddressRequestBuilder.php | 77 - ...sRequestBuilderGetRequestConfiguration.php | 22 - .../Item/Tables/Add/AddPostRequestBody.php | 136 - .../Item/Tables/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Tables/Count/CountGetResponse.php | 114 - .../Item/Tables/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../ClearFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/Add/AddPostRequestBody.php | 136 - .../Item/Columns/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/ColumnsRequestBuilder.php | 151 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Columns/Count/CountGetResponse.php | 114 - .../Columns/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Filter/Apply/ApplyPostRequestBody.php | 115 - .../Item/Filter/Apply/ApplyRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyBottomItemsFilterPostRequestBody.php | 114 - .../ApplyBottomItemsFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - ...pplyBottomPercentFilterPostRequestBody.php | 114 - ...ApplyBottomPercentFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyCellColorFilterPostRequestBody.php | 114 - .../ApplyCellColorFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyCustomFilterPostRequestBody.php | 158 - .../ApplyCustomFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyDynamicFilterPostRequestBody.php | 114 - .../ApplyDynamicFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyFontColorFilterPostRequestBody.php | 114 - .../ApplyFontColorFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyIconFilterPostRequestBody.php | 115 - .../ApplyIconFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyTopItemsFilterPostRequestBody.php | 114 - .../ApplyTopItemsFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyTopPercentFilterPostRequestBody.php | 114 - .../ApplyTopPercentFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ApplyValuesFilterPostRequestBody.php | 92 - .../ApplyValuesFilterRequestBuilder.php | 76 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Filter/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Filter/FilterRequestBuilder.php | 240 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...FilterRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookTableColumnItemRequestBuilder.php | 184 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Filter/FilterRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...FilterRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 118 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ConvertToRangeRequestBuilder.php | 75 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Tables/Item/Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ReapplyFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Rows/Add/AddPostRequestBody.php | 114 - .../Item/Rows/Add/AddRequestBuilder.php | 78 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Rows/Count/CountGetResponse.php | 114 - .../Item/Rows/Count/CountRequestBuilder.php | 73 - ...tRequestBuilderGetRequestConfiguration.php | 22 - .../Rows/Item/Range/RangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookTableRowItemRequestBuilder.php | 152 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...owItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 86 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Tables/Item/Rows/RowsRequestBuilder.php | 151 - .../RowsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Sort/Apply/ApplyRequestBuilder.php | 77 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Sort/Clear/ClearRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sort/Reapply/ReapplyRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Tables/Item/Sort/SortRequestBuilder.php | 168 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../SortRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Item/WorkbookTableItemRequestBuilder.php | 232 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...leItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../ClearFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Columns/ColumnsRequestBuilder.php | 113 - ...olumnsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../ConvertToRangeRequestBuilder.php | 75 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../DataBodyRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../HeaderRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ItemAtWithIndexRequestBuilder.php | 165 - ...xRequestBuilderGetRequestConfiguration.php | 22 - .../Range/RangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../ReapplyFiltersRequestBuilder.php | 74 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Rows/RowsRequestBuilder.php | 113 - .../RowsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Sort/SortRequestBuilder.php | 144 - ...questBuilderDeleteRequestConfiguration.php | 22 - .../SortRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../TotalRowRangeRequestBuilder.php | 75 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../Worksheet/WorksheetRequestBuilder.php | 77 - ...ksheetRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../Item/Tables/TablesRequestBuilder.php | 151 - ...TablesRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../UsedRange/UsedRangeRequestBuilder.php | 74 - ...eRequestBuilderGetRequestConfiguration.php | 22 - .../UsedRangeWithValuesOnlyRequestBuilder.php | 77 - ...yRequestBuilderGetRequestConfiguration.php | 22 - .../WorkbookWorksheetItemRequestBuilder.php | 231 -- ...questBuilderDeleteRequestConfiguration.php | 22 - ...etItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - ...sheetsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../Item/Drive/Items/ItemsRequestBuilder.php | 133 - .../ItemsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - ...RequestBuilderPostRequestConfiguration.php | 22 - .../LastModifiedByUserRequestBuilder.php | 93 - ...ByUserRequestBuilderGetQueryParameters.php | 34 - ...rRequestBuilderGetRequestConfiguration.php | 39 - .../MailboxSettingsRequestBuilder.php | 112 - ...ttingsRequestBuilderGetQueryParameters.php | 34 - ...sRequestBuilderGetRequestConfiguration.php | 39 - ...equestBuilderPatchRequestConfiguration.php | 22 - .../Count/CountRequestBuilder.php | 78 - .../CountRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - ...erviceProvisioningErrorsRequestBuilder.php | 85 - ...ErrorsRequestBuilderGetQueryParameters.php | 82 - ...sRequestBuilderGetRequestConfiguration.php | 45 - .../Drive/Recent/RecentRequestBuilder.php | 77 - ...RecentRequestBuilderGetQueryParameters.php | 82 - ...tRequestBuilderGetRequestConfiguration.php | 45 - .../Root/Content/ContentRequestBuilder.php | 147 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - .../Item/Drive/Root/RootRequestBuilder.php | 85 - .../RootRequestBuilderGetQueryParameters.php | 34 - ...tRequestBuilderGetRequestConfiguration.php | 39 - .../SearchWithQ/SearchWithQGetResponse.php | 72 - .../SearchWithQ/SearchWithQRequestBuilder.php | 80 - ...hWithQRequestBuilderGetQueryParameters.php | 82 - ...QRequestBuilderGetRequestConfiguration.php | 45 - .../SharedWithMe/SharedWithMeGetResponse.php | 72 - .../SharedWithMeRequestBuilder.php | 77 - ...WithMeRequestBuilderGetQueryParameters.php | 82 - ...eRequestBuilderGetRequestConfiguration.php | 45 - .../Special/Count/CountRequestBuilder.php | 78 - .../Item/Content/ContentRequestBuilder.php | 147 - ...questBuilderDeleteRequestConfiguration.php | 22 - ...ontentRequestBuilderGetQueryParameters.php | 26 - ...tRequestBuilderGetRequestConfiguration.php | 38 - ...tRequestBuilderPutRequestConfiguration.php | 22 - .../Item/DriveItemItemRequestBuilder.php | 85 - ...emItemRequestBuilderGetQueryParameters.php | 34 - ...mRequestBuilderGetRequestConfiguration.php | 39 - .../Drive/Special/SpecialRequestBuilder.php | 97 - ...pecialRequestBuilderGetQueryParameters.php | 82 - ...lRequestBuilderGetRequestConfiguration.php | 45 - ...FileStorageContainerItemRequestBuilder.php | 8 + .../PermanentDeleteRequestBuilder.php | 4 +- ...RequestBuilderPostRequestConfiguration.php | 2 +- .../Quota/QuotaRequestBuilder.php} | 74 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...QuotaRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Services}/Count/CountRequestBuilder.php | 4 +- .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...orageQuotaBreakdownItemRequestBuilder.php} | 74 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...nItemRequestBuilderGetQueryParameters.php} | 8 +- ...mRequestBuilderGetRequestConfiguration.php | 39 + ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Services/ServicesRequestBuilder.php} | 72 +- ...vicesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Settings/SettingsRequestBuilder.php} | 74 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...tingsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Storage/StorageRequestBuilder.php | 8 + .../Item/Channels/ChannelsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php} | 24 +- .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- .../Item/Archive/ArchivePostRequestBody.php} | 32 +- .../Item/Archive/ArchiveRequestBuilder.php | 77 + ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Item/ChannelItemRequestBuilder.php | 16 + .../Item/Members/MembersRequestBuilder.php | 6 +- .../Item/Messages/MessagesRequestBuilder.php | 6 +- .../Unarchive/UnarchiveRequestBuilder.php} | 30 +- ...RequestBuilderPostRequestConfiguration.php | 22 + .../Archive/ArchivePostRequestBody.php} | 32 +- .../Archive/ArchiveRequestBuilder.php | 77 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php} | 30 +- ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/Channels/ChannelsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php | 72 + .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...sRequestBuilderGetRequestConfiguration.php | 45 + .../Item/Archive/ArchivePostRequestBody.php | 114 + .../Item/Archive/ArchiveRequestBuilder.php | 77 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php | 74 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../AssignLicenseRequestBuilder.php | 4 +- .../ResetPasswordRequestBuilder.php | 4 +- ...LongRunningOperationItemRequestBuilder.php | 4 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Operations/OperationsRequestBuilder.php | 4 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../Users/Item/Chats/ChatsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php} | 24 +- .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- .../GetMemberGroupsRequestBuilder.php | 4 +- .../Item/Insights/InsightsRequestBuilder.php | 18 +- .../Item/SharedInsightItemRequestBuilder.php | 4 +- ...htItemRequestBuilderGetQueryParameters.php | 2 +- .../Insights/Shared/SharedRequestBuilder.php | 4 +- ...SharedRequestBuilderGetQueryParameters.php | 2 +- .../Item/TrendingItemRequestBuilder.php | 4 +- ...ngItemRequestBuilderGetQueryParameters.php | 2 +- .../Trending/TrendingRequestBuilder.php | 4 +- ...endingRequestBuilderGetQueryParameters.php | 2 +- .../Item/UsedInsightItemRequestBuilder.php | 4 +- ...htItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Insights/Used/UsedRequestBuilder.php | 4 +- .../UsedRequestBuilderGetQueryParameters.php | 2 +- .../Item/Channels/ChannelsRequestBuilder.php | 8 + .../GetAllRetainedMessagesGetResponse.php | 72 + .../GetAllRetainedMessagesRequestBuilder.php} | 33 +- ...sagesRequestBuilderGetQueryParameters.php} | 8 +- ...sRequestBuilderGetRequestConfiguration.php | 45 + .../Item/Archive/ArchivePostRequestBody.php | 114 + .../Item/Archive/ArchiveRequestBuilder.php | 77 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php | 74 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../Archive/ArchivePostRequestBody.php | 114 + .../Archive/ArchiveRequestBuilder.php | 77 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 16 + .../Unarchive/UnarchiveRequestBuilder.php | 74 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../ItemInsightsRequestBuilder.php} | 66 +- ...uestBuilderDeleteRequestConfiguration.php} | 6 +- ...ightsRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Item/Settings/SettingsRequestBuilder.php | 16 + .../Storage/Quota/QuotaRequestBuilder.php} | 74 +- ...questBuilderDeleteRequestConfiguration.php | 22 + ...QuotaRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Services/Count/CountRequestBuilder.php | 78 + .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...orageQuotaBreakdownItemRequestBuilder.php} | 74 +- ...questBuilderDeleteRequestConfiguration.php | 22 + ...wnItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + .../Services/ServicesRequestBuilder.php} | 72 +- ...vicesRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...equestBuilderPostRequestConfiguration.php} | 6 +- .../Storage/StorageRequestBuilder.php} | 74 +- ...questBuilderDeleteRequestConfiguration.php | 22 + ...orageRequestBuilderGetQueryParameters.php} | 8 +- ...RequestBuilderGetRequestConfiguration.php} | 22 +- ...questBuilderPatchRequestConfiguration.php} | 6 +- .../Users/Item/UserItemRequestBuilder.php | 14 +- ...erItemRequestBuilderGetQueryParameters.php | 2 +- src/Generated/Users/UsersRequestBuilder.php | 8 +- src/Generated/kiota-lock.json | 4 +- 3320 files changed, 10944 insertions(+), 170135 deletions(-) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php => Admin/People/ItemInsights/ItemInsightsRequestBuilder.php} (52%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderPatchRequestConfiguration.php => Admin/People/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php} (73%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php => Admin/People/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php} (63%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetRequestConfiguration.php => Admin/People/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php} (58%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderPatchRequestConfiguration.php => Admin/People/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostResponse.php => Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilder.php => Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (55%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php => Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (88%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetRequestConfiguration.php => Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php} (55%) delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Recent/RecentGetResponse.php => Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php} (70%) rename src/Generated/Groups/Item/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php => Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (56%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php => Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (88%) rename src/Generated/Groups/Item/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php => Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php} (54%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyPostRequestBody.php => Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.php} (70%) create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderDeleteRequestConfiguration.php => Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php} (73%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php => Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilder.php} (52%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderDeleteRequestConfiguration.php => Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php => Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.php} (70%) create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderPostRequestConfiguration.php => Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php} (73%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php => Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php} (55%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php => Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/Invitations/{Item => }/InvitedUser/InvitedUserRequestBuilder.php (92%) rename src/Generated/Invitations/{Item => }/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php (93%) rename src/Generated/Invitations/{Item => }/InvitedUser/InvitedUserRequestBuilderGetRequestConfiguration.php (96%) rename src/Generated/Invitations/{Item => }/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.php (96%) rename src/Generated/Invitations/{Item => }/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php (92%) rename src/Generated/Invitations/{Item => }/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php (95%) rename src/Generated/Invitations/{Item => }/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php (89%) rename src/Generated/Invitations/{Item/InvitedUserSponsors => InvitedUser/ServiceProvisioningErrors}/Count/CountRequestBuilder.php (95%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Bundles => Invitations/InvitedUser/ServiceProvisioningErrors}/Count/CountRequestBuilderGetQueryParameters.php (90%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Bundles => Invitations/InvitedUser/ServiceProvisioningErrors}/Count/CountRequestBuilderGetRequestConfiguration.php (94%) rename src/Generated/Invitations/{Item => }/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php (91%) rename src/Generated/Invitations/{Item => }/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php (96%) rename src/Generated/Invitations/{Item => }/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php (96%) rename src/Generated/Invitations/{Item/InvitedUser/ServiceProvisioningErrors => InvitedUserSponsors}/Count/CountRequestBuilder.php (94%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php (91%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/Count/CountRequestBuilderGetRequestConfiguration.php (95%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/InvitedUserSponsorsRequestBuilder.php (92%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php (97%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetRequestConfiguration.php (96%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilder.php (95%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php (93%) rename src/Generated/Invitations/{Item => }/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetRequestConfiguration.php (95%) delete mode 100644 src/Generated/Invitations/Item/InvitationItemRequestBuilder.php delete mode 100644 src/Generated/Invitations/Item/InvitationItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Invitations/Item/InvitationItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Invitations/Item/InvitationItemRequestBuilderPatchRequestConfiguration.php create mode 100644 src/Generated/Models/AppManagementApplicationConfiguration.php create mode 100644 src/Generated/Models/AppManagementServicePrincipalConfiguration.php create mode 100644 src/Generated/Models/BookingPageAccessControl.php create mode 100644 src/Generated/Models/BookingPageSettings.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.php => Models/BookingsAvailability.php} (52%) create mode 100644 src/Generated/Models/BookingsAvailabilityWindow.php create mode 100644 src/Generated/Models/BookingsServiceAvailabilityType.php create mode 100644 src/Generated/Models/ClickSource.php create mode 100644 src/Generated/Models/CrossTenantAccessPolicyTenantRestrictions.php create mode 100644 src/Generated/Models/CustomAppManagementConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php => Models/DevicesFilter.php} (56%) create mode 100644 src/Generated/Models/InsightsSettings.php create mode 100644 src/Generated/Models/ItemInsights.php create mode 100644 src/Generated/Models/NativeAuthenticationApisEnabled.php create mode 100644 src/Generated/Models/Security/CloudLogonRequestEvidence.php create mode 100644 src/Generated/Models/Security/CloudLogonSessionEvidence.php create mode 100644 src/Generated/Models/ServiceStorageQuotaBreakdown.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.php => Models/ServiceStorageQuotaBreakdownCollectionResponse.php} (67%) create mode 100644 src/Generated/Models/StorageQuotaBreakdown.php create mode 100644 src/Generated/Models/StorageSettings.php create mode 100644 src/Generated/Models/UnifiedStorageQuota.php create mode 100644 src/Generated/Models/UserInsightsSettings.php create mode 100644 src/Generated/Models/UserStorage.php create mode 100644 src/Generated/Models/VirtualEventPresenter.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaGetResponse.php => Models/VirtualEventPresenterCollectionResponse.php} (69%) create mode 100644 src/Generated/Models/VirtualEventPresenterDetails.php create mode 100644 src/Generated/Models/VirtualEventPresenterInfo.php create mode 100644 src/Generated/Models/VirtualEventRegistrationConfiguration.php create mode 100644 src/Generated/Models/VirtualEventRegistrationCustomQuestion.php create mode 100644 src/Generated/Models/VirtualEventRegistrationPredefinedQuestion.php create mode 100644 src/Generated/Models/VirtualEventRegistrationPredefinedQuestionLabel.php create mode 100644 src/Generated/Models/VirtualEventRegistrationQuestionAnswerInputType.php create mode 100644 src/Generated/Models/VirtualEventRegistrationQuestionBase.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenGetResponse.php => Models/VirtualEventRegistrationQuestionBaseCollectionResponse.php} (65%) create mode 100644 src/Generated/Models/VirtualEventTownhall.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaGetResponse.php => Models/VirtualEventTownhallCollectionResponse.php} (69%) create mode 100644 src/Generated/Models/VirtualEventWebinarRegistrationConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilder.php => Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilder.php} (65%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Bundles => Solutions/VirtualEvents/Events/Item/Presenters}/Count/CountRequestBuilder.php (92%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items => Solutions/VirtualEvents/Events/Item/Presenters}/Count/CountRequestBuilderGetQueryParameters.php (90%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items => Solutions/VirtualEvents/Events/Item/Presenters}/Count/CountRequestBuilderGetRequestConfiguration.php (94%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php => Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php} (53%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php => Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php} (62%) create mode 100644 src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php} (62%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php => Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilder.php} (55%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php} (68%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes => Solutions/VirtualEvents/Events}/Item/Publish/PublishRequestBuilder.php (84%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes => Solutions/VirtualEvents/Events}/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php (85%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Special => Solutions/VirtualEvents/Townhalls}/Count/CountRequestBuilderGetQueryParameters.php (90%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Special => Solutions/VirtualEvents/Townhalls}/Count/CountRequestBuilderGetRequestConfiguration.php (94%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php} (61%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilder.php} (50%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php} (85%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php} (68%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php} (72%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php} (88%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php} (68%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports}/Count/CountRequestBuilder.php (91%) rename src/Generated/{Invitations/Item/InvitedUser/ServiceProvisioningErrors => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports}/Count/CountRequestBuilderGetQueryParameters.php (88%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports}/Count/CountRequestBuilderGetRequestConfiguration.php (93%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php} (56%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php} (86%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php} (56%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords}/Count/CountRequestBuilder.php (89%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords}/Count/CountRequestBuilderGetQueryParameters.php (87%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords}/Count/CountRequestBuilderGetRequestConfiguration.php (92%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php} (64%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php} (69%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php} (59%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php} (70%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php} (65%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php} (66%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php} (63%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php} (59%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php} (71%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php} (69%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php} (60%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php} (71%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilder.php} (56%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php} (67%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php => Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilder.php} (58%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration.php} (71%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetQueryParameters.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetRequestConfiguration.php} (60%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration.php} (71%) create mode 100644 src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetRequestConfiguration.php} (68%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderPostRequestConfiguration.php} (72%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php} (50%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php} (62%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilder.php} (53%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php} (68%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions}/Count/CountRequestBuilder.php (91%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters.php} (66%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetQueryParameters.php} (85%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetRequestConfiguration.php} (67%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderPostRequestConfiguration.php} (71%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilder.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderDeleteRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetQueryParameters.php} (64%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderPatchRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilder.php} (59%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderPutRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php} (71%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions}/Count/CountRequestBuilderGetQueryParameters.php (88%) rename src/Generated/{Invitations/Item/InvitedUser/ServiceProvisioningErrors => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions}/Count/CountRequestBuilderGetRequestConfiguration.php (93%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php} (64%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php} (68%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php} (59%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php} (80%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php} (67%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilder.php} (57%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderPutRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilderPostRequestConfiguration.php} (71%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilder.php} (58%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetQueryParameters.php} (69%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetRequestConfiguration.php} (59%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderPatchRequestConfiguration.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilder.php} (57%) create mode 100644 src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilderPostRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilder.php} (50%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetQueryParameters.php} (68%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetRequestConfiguration.php} (59%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration.php => Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration.php} (69%) delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestorePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BaseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderPostRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeGetResponse.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderPutRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilder.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetQueryParameters.php delete mode 100644 src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetRequestConfiguration.php rename src/Generated/Storage/FileStorage/Containers/Item/{Drive/Items/Item => }/PermanentDelete/PermanentDeleteRequestBuilder.php (95%) rename src/Generated/Storage/FileStorage/Containers/Item/{Drive/Items/Item => }/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php (94%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilder.php => Settings/Quota/QuotaRequestBuilder.php} (65%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php => Storage/Settings/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php} (72%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php => Storage/Settings/Quota/QuotaRequestBuilderGetQueryParameters.php} (73%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php => Storage/Settings/Quota/QuotaRequestBuilderGetRequestConfiguration.php} (57%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/DriveRequestBuilderPatchRequestConfiguration.php => Settings/Quota/QuotaRequestBuilderPatchRequestConfiguration.php} (73%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items => Settings/Quota/Services}/Count/CountRequestBuilder.php (94%) create mode 100644 src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php => Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php} (52%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilderPostRequestConfiguration.php => Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php} (70%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php => Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php} (70%) create mode 100644 src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php => Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php} (62%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php => Settings/Quota/Services/ServicesRequestBuilder.php} (56%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php => Settings/Quota/Services/ServicesRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php => Settings/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php} (67%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilderPostRequestConfiguration.php => Settings/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php => Storage/Settings/SettingsRequestBuilder.php} (57%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php => Storage/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php} (72%) rename src/Generated/{Invitations/Item/InvitationItemRequestBuilderGetQueryParameters.php => Storage/Settings/SettingsRequestBuilderGetQueryParameters.php} (73%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetRequestConfiguration.php => Settings/SettingsRequestBuilderGetRequestConfiguration.php} (57%) rename src/Generated/Storage/{FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderPatchRequestConfiguration.php => Settings/SettingsRequestBuilderPatchRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostResponse.php => Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php} (70%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php => Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (55%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php => Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (88%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php => Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php} (54%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedGetResponse.php => Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.php} (72%) create mode 100644 src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilderPostRequestConfiguration.php => Teams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php => Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php} (60%) create mode 100644 src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.php => Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php} (71%) create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php => Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php} (60%) create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php => Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (54%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php => Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (87%) create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQGetResponse.php => Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php} (70%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php => Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (55%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php => Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (88%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetRequestConfiguration.php => Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php} (54%) create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php => Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php} (54%) rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php => Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php} (87%) create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php => Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilder.php} (56%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderDeleteRequestConfiguration.php => Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php => Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php} (74%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php => Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php} (58%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php => Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.php => Users/Item/Settings/Storage/Quota/QuotaRequestBuilder.php} (64%) create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php rename src/Generated/{Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php => Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetQueryParameters.php} (72%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetRequestConfiguration.php => Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetRequestConfiguration.php} (57%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderPutRequestConfiguration.php => Users/Item/Settings/Storage/Quota/QuotaRequestBuilderPatchRequestConfiguration.php} (72%) create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php => Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php} (51%) create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilder.php => Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilder.php} (55%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php => Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetQueryParameters.php} (89%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php => Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php} (67%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilderPostRequestConfiguration.php => Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php} (72%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php => Users/Item/Settings/Storage/StorageRequestBuilder.php} (65%) create mode 100644 src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderDeleteRequestConfiguration.php rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php => Users/Item/Settings/Storage/StorageRequestBuilderGetQueryParameters.php} (74%) rename src/Generated/{Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php => Users/Item/Settings/Storage/StorageRequestBuilderGetRequestConfiguration.php} (57%) rename src/Generated/{Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderPostRequestConfiguration.php => Users/Item/Settings/Storage/StorageRequestBuilderPatchRequestConfiguration.php} (72%) diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilder.php similarity index 52% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php rename to src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilder.php index d96e2cb70a4..29e8d6f8e1b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php +++ b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilder.php @@ -1,60 +1,28 @@ pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function majorGridlines(): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function minorGridlines(): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new CategoryAxisRequestBuilder and sets the default values. + * Instantiates a new ItemInsightsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/itemInsights{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -63,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property categoryAxis for storage - * @param CategoryAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property itemInsights for admin + * @param ItemInsightsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?CategoryAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?ItemInsightsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -77,40 +45,42 @@ public function delete(?CategoryAxisRequestBuilderDeleteRequestConfiguration $re } /** - * Represents the category axis in a chart. Read-only. - * @param CategoryAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get the properties of an insightsSettings object to display or return item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy in Microsoft Graph. + * @param ItemInsightsRequestBuilderGetRequestConfiguration|null $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-iteminsights?view=graph-rest-1.0 Find more info here */ - public function get(?CategoryAxisRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ItemInsightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [InsightsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property categoryAxis in storage - * @param WorkbookChartAxis $body The request body - * @param CategoryAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update privacy settings to display or return the specified type of insights in an organization. Currently, itemInsights is the only supported type of settings. To learn more about customizing insights privacy for your organization, see Customize item insights privacy in Microsoft Graph. + * @param InsightsSettings $body The request body + * @param ItemInsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 Find more info here */ - public function patch(WorkbookChartAxis $body, ?CategoryAxisRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(InsightsSettings $body, ?ItemInsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [InsightsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property categoryAxis for storage - * @param CategoryAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property itemInsights for admin + * @param ItemInsightsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?CategoryAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?ItemInsightsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,11 +94,11 @@ public function toDeleteRequestInformation(?CategoryAxisRequestBuilderDeleteRequ } /** - * Represents the category axis in a chart. Read-only. - * @param CategoryAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the properties of an insightsSettings object to display or return item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy in Microsoft Graph. + * @param ItemInsightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?CategoryAxisRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ItemInsightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -145,12 +115,12 @@ public function toGetRequestInformation(?CategoryAxisRequestBuilderGetRequestCon } /** - * Update the navigation property categoryAxis in storage - * @param WorkbookChartAxis $body The request body - * @param CategoryAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update privacy settings to display or return the specified type of insights in an organization. Currently, itemInsights is the only supported type of settings. To learn more about customizing insights privacy for your organization, see Customize item insights privacy in Microsoft Graph. + * @param InsightsSettings $body The request body + * @param ItemInsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookChartAxis $body, ?CategoryAxisRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(InsightsSettings $body, ?ItemInsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -167,10 +137,10 @@ public function toPatchRequestInformation(WorkbookChartAxis $body, ?CategoryAxis /** * 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 CategoryAxisRequestBuilder + * @return ItemInsightsRequestBuilder */ - public function withUrl(string $rawUrl): CategoryAxisRequestBuilder { - return new CategoryAxisRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ItemInsightsRequestBuilder { + return new ItemInsightsRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php similarity index 73% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php index 7cdf400c84a..f5e90e689d9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php similarity index 63% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php index c465d04e8d4..ac530d65ae5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php similarity index 58% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php index d790fc189cb..23a17294b6e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ListItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ItemInsightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ListItemItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ItemInsightsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ListItemItemRequestBuilderGetQueryParameters. + * Instantiates a new ItemInsightsRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return ListItemItemRequestBuilderGetQueryParameters + * @return ItemInsightsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ListItemItemRequestBuilderGetQueryParameters { - return new ListItemItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ItemInsightsRequestBuilderGetQueryParameters { + return new ItemInsightsRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php index 7f23db6f5e8..521b6951880 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/People/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index 1e3ef6817b7..78eca30167c 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Admin\People\ItemInsights\ItemInsightsRequestBuilder; use Microsoft\Graph\Generated\Admin\People\ProfileCardProperties\ProfileCardPropertiesRequestBuilder; use Microsoft\Graph\Generated\Admin\People\Pronouns\PronounsRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -18,6 +19,13 @@ */ class PeopleRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the itemInsights property of the microsoft.graph.peopleAdminSettings entity. + */ + public function itemInsights(): ItemInsightsRequestBuilder { + return new ItemInsightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. */ diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php index fabc51632f4..118e42fc2ef 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?FederatedIdentityCredentialItemRequestBuilderGetRequestConf } /** - * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -116,7 +116,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialItemRequestB } /** - * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.php index fb1e44a7537..496662a4c12 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentialsWithName/FederatedIdentityCredentialsWithNameRequestBuilder.php @@ -64,7 +64,7 @@ public function get(?FederatedIdentityCredentialsWithNameRequestBuilderGetReques } /** - * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialsWithNameRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialsWithNameReq } /** - * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. + * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialsWithNameRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 2f40b691909..3cca9caa243 100644 --- a/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Chats/ChatsRequestBuilder.php b/src/Generated/Chats/ChatsRequestBuilder.php index ef7c9a1ba91..bcb7c747523 100644 --- a/src/Generated/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Chats/ChatsRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Chats\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Chats\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Chats\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Chats\Item\ChatItemRequestBuilder; use Microsoft\Graph\Generated\Models\Chat; use Microsoft\Graph\Generated\Models\ChatCollectionResponse; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the collection of chat entities. * @param string $chatId The unique identifier of chat diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostResponse.php b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostResponse.php rename to src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php index 39130e8b931..515f836b76d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostResponse.php +++ b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -1,18 +1,18 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Permission::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, Permission::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilder.php b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilder.php rename to src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index b2980cafc77..5a5fc20530e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilder.php +++ b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,10 +1,9 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/drive{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/chats/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Allows access to the list as a drive resource with driveItems. Only present on document libraries. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Drive::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Allows access to the list as a drive resource with driveItems. Only present on document libraries. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat /** * 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 DriveRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): DriveRequestBuilder { - return new DriveRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php rename to src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index 2e8b41f8274..ea0dc00e7a0 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetRequestConfiguration.php b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php index 20d48ced312..d41d04149ba 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param NamesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?NamesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new NamesRequestBuilderGetQueryParameters. + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Nam * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return NamesRequestBuilderGetQueryParameters + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): NamesRequestBuilderGetQueryParameters { - return new NamesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index fc210c496a2..32f40e89a8e 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index bf274abf045..c487c9d33f9 100644 --- a/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index e7413fa2686..a0756db0e6d 100644 --- a/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|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 1846c46816c..cd7f04fa41e 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-partnerintegration-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); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-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 ea6ff0df539..6ae790d2218 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection 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-managedappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection 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 ef9bce96aef..612793385c9 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 managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index c14dff918a3..2c92f59d08d 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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 f328140e310..afa996ecfce 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 managedAppConfiguration 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-managedappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppConfiguration objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 2d262d4c8b1..88d1f2c4ecd 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 managedAppConfiguration 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 e141c5e3073..0cf00c54e3d 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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 ae38e904200..d534a409ba9 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-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 81082a207c7..0e65ab6bf24 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index 8163f822b71..b4f489ab30a 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 767ab2c7107..1b81a537200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw 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-managedappstatus-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw 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 1a778e35b25..e257e0cbe70 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 managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 7ddb41d88fd..ab642fd8edd 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 managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @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-managedebookassignment-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,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); @@ -77,7 +77,7 @@ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemR } /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,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 */ 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/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 6cfa31634c9..3e80867291c 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php index 4b0240dadba..22dd29d03d8 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index b7f2940d11f..feacdc9ddcd 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php index 804ed807506..b6d9410cd6a 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. */ class MobileAppConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 8885200e4f6..e361416cc96 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the mobileLobApp object. + * Read properties and relationships of the macOSLobApp 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-macoslobapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a iosStoreApp object. + * Update the properties of a microsoftStoreForBusinessApp 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-iosstoreapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the mobileLobApp object. + * Read properties and relationships of the macOSLobApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a iosStoreApp object. + * Update the properties of a microsoftStoreForBusinessApp 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..38b4d07e5cf 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 macOSLobApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 36175b05f61..6eb0b63ecf7 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 managedIOSLobApp objects. + * List properties and relationships of the macOSOfficeSuiteApp 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-managedioslobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new windowsAppX object. + * Create a new webApp 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-windowsappx-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the managedIOSLobApp objects. + * List properties and relationships of the macOSOfficeSuiteApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new windowsAppX object. + * Create a new webApp 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 e5bc8d8bb01..2a827cca600 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 managedIOSLobApp objects. + * List properties and relationships of the macOSOfficeSuiteApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index d7ae9312f88..c66fef64f91 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 windows81CompliancePolicy objects. + * List properties and relationships of the windows10CompliancePolicy 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-windows81compliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows10MobileCompliancePolicy object. + * Create a new iosCompliancePolicy 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-windows10mobilecompliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the windows10CompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows10MobileCompliancePolicy object. + * Create a new iosCompliancePolicy 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 82d050ad739..05e610a4d90 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 windows81CompliancePolicy objects. + * List properties and relationships of the windows10CompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 00ade8fecab..e8f9c3b86d5 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 iosCompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @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-ioscompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the windows81CompliancePolicy object. + * Read properties and relationships of the windows10CompliancePolicy 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-windows81compliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a windows10CompliancePolicy 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-windows10mobilecompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a iosCompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the windows81CompliancePolicy object. + * Read properties and relationships of the windows10CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a windows10CompliancePolicy 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 72772bb5d47..30b39eb73f0 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 windows81CompliancePolicy object. + * Read properties and relationships of the windows10CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 4df8932a06e..a871e58d2f0 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 windows10EndpointProtectionConfiguration objects. + * List properties and relationships of the iosCustomConfiguration 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-windows10endpointprotectionconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new windows81GeneralConfiguration object. + * Create a new androidWorkProfileCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the windows10EndpointProtectionConfiguration objects. + * List properties and relationships of the iosCustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new windows81GeneralConfiguration object. + * Create a new androidWorkProfileCustomConfiguration 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 43e8e1fef4d..ee5e107a810 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 windows10EndpointProtectionConfiguration objects. + * List properties and relationships of the iosCustomConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 4f2143d7e7b..cbea4847f1c 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 windows10TeamGeneralConfiguration. + * Deletes a iosCustomConfiguration. * @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-windows10teamgeneralconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the androidWorkProfileGeneralDeviceConfiguration object. + * Read properties and relationships of the windows10SecureAssessmentConfiguration 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-androidworkprofilegeneraldeviceconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windows10EndpointProtectionConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a windows10TeamGeneralConfiguration. + * Deletes a iosCustomConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the androidWorkProfileGeneralDeviceConfiguration object. + * Read properties and relationships of the windows10SecureAssessmentConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windows10EndpointProtectionConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index abc30e6ea12..3463a581296 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 androidWorkProfileGeneralDeviceConfiguration object. + * Read properties and relationships of the windows10SecureAssessmentConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 891599bcfb2..f47aa1f4793 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 deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration 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-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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 4120d08866e..548f8e3b8a8 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 deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index e41a5ad489e..ff470b6dab0 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 54297938ccd..5214de3cc05 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,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-rbac-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,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-remoteassistance-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-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 ced2af61043..32b369eb31c 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a roleDefinition. + * Deletes a deviceAndAppManagementRoleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -69,12 +69,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); @@ -85,7 +85,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a roleDefinition. + * Deletes a deviceAndAppManagementRoleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a 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 1b0b00b736a..db6bd1c2b2c 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 5b0c2ffab4f..448a7624ee5 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 5ac7811b2ad..f7c0eebfe9d 100644 --- a/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index bc9fb9e85c5..4f8db616d08 100644 --- a/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.php b/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.php index b9c42a66508..973f089f4e3 100644 --- a/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.php +++ b/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?CompanySubscriptionItemRequestBuilderDeleteRequestConfig } /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. * @param CompanySubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 Find more info here */ public function get(?CompanySubscriptionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?CompanySubscriptionItemRequestBuilde } /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. * @param CompanySubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilderGetQueryParameters.php index b64db1b42a0..1f497716f98 100644 --- a/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/Subscriptions/Item/CompanySubscriptionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. */ class CompanySubscriptionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilder.php index c0c13b6c27b..61132f02551 100644 --- a/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get subscriptions from directory + * Get the list of commercial subscriptions that an organization acquired. * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/directory-list-subscriptions?view=graph-rest-1.0 Find more info here */ public function get(?SubscriptionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(CompanySubscription $body, ?SubscriptionsRequestBuilderPost } /** - * Get subscriptions from directory + * Get the list of commercial subscriptions that an organization acquired. * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php index a931a226ad2..4233359b7b7 100644 --- a/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get subscriptions from directory + * Get the list of commercial subscriptions that an organization acquired. */ class SubscriptionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.php b/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.php index 6a75a4fb07c..af752c61d83 100644 --- a/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.php +++ b/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.php @@ -48,10 +48,11 @@ public function delete(?SubscriptionsWithCommerceSubscriptionIdRequestBuilderDel } /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. * @param SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 Find more info here */ public function get(?SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +96,7 @@ public function toDeleteRequestInformation(?SubscriptionsWithCommerceSubscriptio } /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. * @param SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters.php b/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters.php index e7eae41c444..99dd8596e8c 100644 --- a/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/SubscriptionsWithCommerceSubscriptionId/SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get subscriptions from directory + * Get a specific commercial subscription that an organization acquired. */ class SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index e6bb1745a16..37f56a3806c 100644 --- a/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index cb6fded18f5..a412bf79976 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 4c5d54e0eb3..fd86e8b4616 100644 --- a/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|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/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 47be9ad9743..419c92ac755 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php index b733f36cacc..586e127d351 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?WorkbookCommentReplyItemRequestBuilderDeleteRequestConfi } /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?WorkbookCommentReplyItemRequestBuild } /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|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/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php index e548a9beb5b..ee7f76f121b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. */ class WorkbookCommentReplyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php index efb2af146e5..983d72d5a34 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(WorkbookCommentReply $body, ?RepliesRequestBuilderPostReque } /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. * @param RepliesRequestBuilderGetRequestConfiguration|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/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 4d24b545c2b..444e20bbfc5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get replies from drives + * The list of replies to the comment. Read-only. Nullable. */ class RepliesRequestBuilderGetQueryParameters { 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 85c27f4278b..b488f342865 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); @@ -46,7 +46,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/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php index 2283c2fd8b8..ee208d0d673 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConf } /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php index 6669ce6e6c0..cd9fc1831b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. */ class WorksheetRequestBuilderGetQueryParameters { 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 9d9a1a6fbb3..dcf0df6ea94 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 @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|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/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 8a2e78bd8ac..bcc73d1ddfb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php index 6e05d1dc5e5..3d3cf59a863 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php @@ -141,7 +141,7 @@ public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -188,7 +188,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|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/Item/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php index 24816e2fedb..102f4a3e920 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. */ class FilterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php index f8a67f03a6d..89221cf8f9f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php @@ -85,7 +85,7 @@ public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfig } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilde } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|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/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php index 24827b7923a..dcbfdd12c03 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php index bead9d9c0bc..c440a74ddf5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php index ff98bcc0e55..312dd52664e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. */ class FilterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php index a7ebc187634..5d9dd75968b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfigura } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDe } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|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/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php index 9d6acb05817..768cdf1f7a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class WorkbookTableRowItemRequestBuilderGetQueryParameters { 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 49cf8104d7e..d015cacf084 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 @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|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/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php index cc91f9acce1..59d34b7ff34 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php index e1ca45cb483..0cb8876c7ee 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php @@ -69,7 +69,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|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/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php index 47eeb98bc13..b669a2f25d9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php index b31a4307f60..2219e70cd7f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -61,7 +61,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php index 8f2fd32c39f..054d75ccb40 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php index 91328af7240..9aac31ace4e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -61,7 +61,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php index 46248c690f5..25ba25a5dd1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php index 6a39a57c4b6..73c4387ef61 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php index 967d89ccd5b..619a36ddd57 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php index c51acc75101..08879a05568 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php @@ -62,7 +62,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -109,7 +109,7 @@ public function post(WorkbookChart $body, ?ChartsRequestBuilderPostRequestConfig } /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. * @param ChartsRequestBuilderGetRequestConfiguration|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/ChartsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php index 58b04837155..8b7cd73279c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. */ class ChartsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php index c65aefb2a96..91cd5fb509e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestC } /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon } /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|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/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php index f0ed8093611..2d9e143a44e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. */ class FormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php index ce18e140e4c..d96dc7421db 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestC } /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon } /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|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/Item/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php index c6226d04dd0..536b2b38b31 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. */ class FormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php index 9b5129ffbbb..1724b6f6af7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?WorkbookChartPointItemRequestBuilderDeleteRequestConfigu } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WorkbookChartPointItemRequestBuilder } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|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/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php index 0a33a3beba0..d005d8f10a6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. */ class WorkbookChartPointItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php index bb060dcebaa..a7ab863da63 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestC } /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon } /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php index 80f9db17252..09de7574454 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Encapsulates the format properties chart point. Read-only. + * The format properties of the chart point. Read-only. */ class FormatRequestBuilderGetQueryParameters { 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 84d928001e6..2b8d6b45c38 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,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @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 e8619e87215..f6b8bb32a32 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; /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php index ebc14f2c724..ddcee6a5934 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestC } /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon } /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php index 905cd545691..0a41027ee12 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * The formatting of a chart series, which includes fill and line formatting. Read-only. */ class FormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php index e363f381768..9f84d62518c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -61,7 +61,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. * @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/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php index baac18b397d..7faaae65d8b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all points in the series. Read-only. + * A collection of all points in the series. Read-only. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php index b7e21b20e64..04fe2633945 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestC } /** - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * The formatting of a chart title, which includes fill and font formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon } /** - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * The formatting of a chart title, which includes fill and font formatting. Read-only. * @param FormatRequestBuilderGetRequestConfiguration|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/Title/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php index 11424138237..960048aa98e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * The formatting of a chart title, which includes fill and font formatting. Read-only. */ class FormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php index a6533046350..3571046526a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php @@ -128,7 +128,7 @@ public function delete(?WorkbookChartItemRequestBuilderDeleteRequestConfiguratio } /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -205,7 +205,7 @@ public function toDeleteRequestInformation(?WorkbookChartItemRequestBuilderDelet } /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|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/WorkbookChartItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php index 06e88cec69d..74fc35b5577 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns collection of charts that are part of the worksheet. Read-only. + * The list of charts that are part of the worksheet. Read-only. */ class WorkbookChartItemRequestBuilderGetQueryParameters { 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 ae6c3f7e3a8..ad91fa4ef9d 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); @@ -46,7 +46,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/Names/Item/WorkbookNamedItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php index d8d6b4be95f..ca9e3bd5ee0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfigur } /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?WorkbookNamedItemItemRequestBuilderD } /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php index 8ea84dede84..d6fae906cb8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. */ class WorkbookNamedItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php index ed7ec4173a4..6b291fd4208 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConf } /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php index 43c0b92c122..3784521568c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. */ class WorksheetRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php index 04461437614..ea113b59cee 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -97,7 +97,7 @@ public function post(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestCon } /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php index d4fef89f694..2393d5b0467 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns collection of names that are associated with the worksheet. Read-only. + * The list of names that are associated with the worksheet. Read-only. */ class NamesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php index 5e79332fb55..413c0d82db5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?WorkbookPivotTableItemRequestBuilderDeleteRequestConfigu } /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?WorkbookPivotTableItemRequestBuilder } /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|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/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php index 99c106d0044..6928c02f3d7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. */ class WorkbookPivotTableItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php index c59a08647d3..93cc8c961ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The worksheet containing the current PivotTable. Read-only. + * The worksheet that contains the current pivot table. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConf } /** - * The worksheet containing the current PivotTable. Read-only. + * The worksheet that contains the current pivot table. Read-only. * @param WorksheetRequestBuilderGetRequestConfiguration|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/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php index 75ec1e9da67..4d71f05615c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The worksheet containing the current PivotTable. Read-only. + * The worksheet that contains the current pivot table. Read-only. */ class WorksheetRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php index 15927f06b8e..5a5d53744bf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. * @param PivotTablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -89,7 +89,7 @@ public function post(WorkbookPivotTable $body, ?PivotTablesRequestBuilderPostReq } /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. * @param PivotTablesRequestBuilderGetRequestConfiguration|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/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php index 5587e16fe1c..f6db34b0b42 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of PivotTables that are part of the worksheet. + * The list of piot tables that are part of the worksheet. */ class PivotTablesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php index d8039e79603..9a1114da150 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?ProtectionRequestBuilderDeleteRequestConfiguration $requ } /** - * Returns sheet protection object for a worksheet. Read-only. + * The sheet protection object for a worksheet. Read-only. * @param ProtectionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?ProtectionRequestBuilderDeleteReques } /** - * Returns sheet protection object for a worksheet. Read-only. + * The sheet protection object for a worksheet. Read-only. * @param ProtectionRequestBuilderGetRequestConfiguration|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/Protection/ProtectionRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php index ef4d9deb741..578d6a4346d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns sheet protection object for a worksheet. Read-only. + * The sheet protection object for a worksheet. Read-only. */ class ProtectionRequestBuilderGetQueryParameters { 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 54f63acd79e..24033975b03 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 @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|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/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 8f42015abd7..e56da22077e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php index c29a76bf13b..f445803ca05 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php @@ -141,7 +141,7 @@ public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -188,7 +188,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|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/Item/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php index 9f2010063af..ca7d6f621bc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. */ class FilterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php index 8d95b0c0cf4..ace92ebce01 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php @@ -85,7 +85,7 @@ public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfig } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilde } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|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/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php index fedec892da9..9c8baebe2f8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php index ca89de0f4db..70f8aeeda1b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon } /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. * @param FilterRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php index e40389f88de..71974e9731a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the filter applied to the column. Read-only. + * The filter applied to the column. Read-only. */ class FilterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php index bc525907aeb..2a1966485e0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfigura } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDe } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|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/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php index 35f6d8a4aa7..aebe7b36a46 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class WorkbookTableRowItemRequestBuilderGetQueryParameters { 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 afa4a5908bf..8bb1ead9c72 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 @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|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/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php index 58fb012d62c..49b887fc147 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php index 6f63998163d..40f104c0e41 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php @@ -69,7 +69,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|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/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php index 3c38030c3cd..8bf541eb992 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php index b285406d7e2..1976231e97b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php @@ -133,7 +133,7 @@ public function delete(?WorkbookTableItemRequestBuilderDeleteRequestConfiguratio } /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -180,7 +180,7 @@ public function toDeleteRequestInformation(?WorkbookTableItemRequestBuilderDelet } /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|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/WorkbookTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php index c64d64dfce2..ac7c185bcaf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. */ class WorkbookTableItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php index 9d4bdcf8b77..28c06ac017a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -61,7 +61,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. * @param ColumnsRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php index 7ef0c665d53..550b0dca9ce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the columns in the table. Read-only. + * The list of all the columns in the table. Read-only. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php index 48afcdd285a..81c683a6456 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -61,7 +61,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. * @param RowsRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php index 870cfde4707..90941b802be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of all the rows in the table. Read-only. + * The list of all the rows in the table. Read-only. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php index dc0fb1f8e5d..d01e74058ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi } /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. * @param SortRequestBuilderGetRequestConfiguration|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/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php index a66e25abdd9..edd63fd0b8f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the sorting for the table. Read-only. + * The sorting for the table. Read-only. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php index 55cc06753b7..ee5cf28150f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function post(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfig } /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. * @param TablesRequestBuilderGetRequestConfiguration|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/TablesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php index 193e33857ec..0fb56c64ffe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of tables that are part of the worksheet. Read-only. + * The list of tables that are part of the worksheet. Read-only. */ class TablesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php index 7b379e50d6b..f621f29a065 100644 --- a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php +++ b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?EducationRubricItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it can't be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -116,7 +116,7 @@ public function toGetRequestInformation(?EducationRubricItemRequestBuilderGetReq } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it can't be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 6c371b0f61a..814e400c329 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an externalItem object. + * Create a new externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Update the properties of an externalItem object. + * Create a new externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 9fb73e27a10..805e37bd607 100644 --- a/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/GroupsRequestBuilder.php index 53cf3f32c0e..f6a2b404f5e 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -99,12 +99,12 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 Find more info here */ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -136,7 +136,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php index 9a04ec16c29..f85abc9f3d6 100644 --- a/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php +++ b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. + * Add the group to the list of the current user's favorite groups. The group shows up in Outlook and Teams favorites. Supported for Microsoft 365 groups only. * @param AddFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function post(?AddFavoriteRequestBuilderPostRequestConfiguration $request } /** - * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. + * Add the group to the list of the current user's favorite groups. The group shows up in Outlook and Teams favorites. Supported for Microsoft 365 groups only. * @param AddFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 8598f814057..c4618ce7781 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-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(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 58f90c8eaf8..189dd9e7168 100644 --- a/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php deleted file mode 100644 index 23d468013bf..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/analytics{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property analytics for groups - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AnalyticsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Analytics about the view activities that took place on this site. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AnalyticsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property analytics in groups - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property analytics for groups - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Analytics about the view activities that took place on this site. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfiguration $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 analytics in groups - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $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 AnalyticsRequestBuilder - */ - public function withUrl(string $rawUrl): AnalyticsRequestBuilder { - return new AnalyticsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7e1c9aeb1d6..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AnalyticsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AnalyticsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AnalyticsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AnalyticsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AnalyticsRequestBuilderGetQueryParameters { - return new AnalyticsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index e3ed32db4b8..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of column definitions reusable across lists under this site. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for groups - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of column definitions reusable across lists under this site. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for groups - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5db833a72cc..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 55e9425a6e5..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php deleted file mode 100644 index 3a37bc8eab7..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/contentTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of content types defined for this site. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentTypeCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to contentTypes for groups - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of content types defined for this site. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to contentTypes for groups - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $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 ContentTypesRequestBuilder - */ - public function withUrl(string $rawUrl): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php deleted file mode 100644 index a772da29761..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c55ac27d03b..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentTypesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ContentTypesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContentTypesRequestBuilderGetQueryParameters { - return new ContentTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5331c8eaece..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5ba589683e2..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveRequestBuilderGetQueryParameters { - return new DriveRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php deleted file mode 100644 index d4d7718c27c..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/externalColumns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get externalColumns from groups - * @param ExternalColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ExternalColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get externalColumns from groups - * @param ExternalColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ExternalColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ExternalColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ExternalColumnsRequestBuilder { - return new ExternalColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index c0f0340c3c3..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ExternalColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php deleted file mode 100644 index 0400252a68b..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php +++ /dev/null @@ -1,213 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.site entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the contentTypes property of the microsoft.graph.site entity. - */ - public function contentTypes(): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - public function createdByUser(): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the drive property of the microsoft.graph.site entity. - */ - public function drive(): DriveRequestBuilder { - return new DriveRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the drives property of the microsoft.graph.site entity. - */ - public function drives(): DrivesRequestBuilder { - return new DrivesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. - */ - public function externalColumns(): ExternalColumnsRequestBuilder { - return new ExternalColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.site entity. - */ - public function items(): ItemsRequestBuilder { - return new ItemsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lists property of the microsoft.graph.site entity. - */ - public function lists(): ListsRequestBuilder { - return new ListsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the onenote property of the microsoft.graph.site entity. - */ - public function onenote(): OnenoteRequestBuilder { - return new OnenoteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the operations property of the microsoft.graph.site entity. - */ - public function operations(): OperationsRequestBuilder { - return new OperationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the pages property of the microsoft.graph.site entity. - */ - public function pages(): PagesRequestBuilder { - return new PagesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the permissions property of the microsoft.graph.site entity. - */ - public function permissions(): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sites property of the microsoft.graph.site entity. - */ - public function sites(): SitesRequestBuilder { - return new SitesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the termStore property of the microsoft.graph.site entity. - */ - public function termStore(): TermStoreRequestBuilder { - return new TermStoreRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the termStores property of the microsoft.graph.site entity. - */ - public function termStores(): TermStoresRequestBuilder { - return new TermStoresRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new GetByPathWithPath1RequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $path1 Usage: path='{path1}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $path1 = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['path1'] = $path1; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function getByPath - * @param GetByPathWithPath1RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?GetByPathWithPath1RequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Site::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function getByPath - * @param GetByPathWithPath1RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetByPathWithPath1RequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetByPathWithPath1RequestBuilder - */ - public function withUrl(string $rawUrl): GetByPathWithPath1RequestBuilder { - return new GetByPathWithPath1RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php deleted file mode 100644 index 51785e00154..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Used to address any item contained in this site. This collection can't be enumerated. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Used to address any item contained in this site. This collection can't be enumerated. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemsRequestBuilder - */ - public function withUrl(string $rawUrl): ItemsRequestBuilder { - return new ItemsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php deleted file mode 100644 index c5bd9d80a4e..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1f150e6a321..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ItemsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index 6b6efc0fcc1..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d0351f02562..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php deleted file mode 100644 index 75198c65d1f..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/lists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of lists under this site. - * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to lists for groups - * @param EscapedList $body The request body - * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EscapedList $body, ?ListsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [EscapedList::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of lists under this site. - * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to lists for groups - * @param EscapedList $body The request body - * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EscapedList $body, ?ListsRequestBuilderPostRequestConfiguration $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 ListsRequestBuilder - */ - public function withUrl(string $rawUrl): ListsRequestBuilder { - return new ListsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6274de9cb6c..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ListsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ListsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ListsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ListsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ListsRequestBuilderGetQueryParameters { - return new ListsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 12cad4bf4fc..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php deleted file mode 100644 index e480b948579..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/onenote{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property onenote for groups - * @param OnenoteRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?OnenoteRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Calls the OneNote service for notebook related operations. - * @param OnenoteRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?OnenoteRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Onenote::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property onenote in groups - * @param Onenote $body The request body - * @param OnenoteRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(Onenote $body, ?OnenoteRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Onenote::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property onenote for groups - * @param OnenoteRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Calls the OneNote service for notebook related operations. - * @param OnenoteRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfiguration $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 onenote in groups - * @param Onenote $body The request body - * @param OnenoteRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderPatchRequestConfiguration $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 OnenoteRequestBuilder - */ - public function withUrl(string $rawUrl): OnenoteRequestBuilder { - return new OnenoteRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 932e4f28205..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param OnenoteRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?OnenoteRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new OnenoteRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return OnenoteRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): OnenoteRequestBuilderGetQueryParameters { - return new OnenoteRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index c181d308ee8..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php deleted file mode 100644 index ffab34e402c..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of long-running operations on the site. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to operations for groups - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of long-running operations on the site. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to operations for groups - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $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 OperationsRequestBuilder - */ - public function withUrl(string $rawUrl): OperationsRequestBuilder { - return new OperationsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aeb39767da5..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param OperationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?OperationsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return OperationsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 65fc4e11d4c..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php deleted file mode 100644 index 4be8c6e4e4a..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of pages in the baseSitePages list in this site. - * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseSitePageCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to pages for groups - * @param BaseSitePage $body The request body - * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BaseSitePage $body, ?PagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseSitePage::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of pages in the baseSitePages list in this site. - * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to pages for groups - * @param BaseSitePage $body The request body - * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BaseSitePage $body, ?PagesRequestBuilderPostRequestConfiguration $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 PagesRequestBuilder - */ - public function withUrl(string $rawUrl): PagesRequestBuilder { - return new PagesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 41c6cfed89d..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PagesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PagesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PagesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PagesRequestBuilderGetQueryParameters { - return new PagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c560723d3c5..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php deleted file mode 100644 index 91650db684b..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The permissions associated with the site. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [PermissionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to permissions for groups - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The permissions associated with the site. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to permissions for groups - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $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 PermissionsRequestBuilder - */ - public function withUrl(string $rawUrl): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 9e16ca2459a..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 273e53ab0de..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PermissionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PermissionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PermissionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PermissionsRequestBuilderGetQueryParameters { - return new PermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6a786ac28f8..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php deleted file mode 100644 index 989272f4bb4..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/sites{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of the sub-sites under this site. - * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SiteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of the sub-sites under this site. - * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SitesRequestBuilder - */ - public function withUrl(string $rawUrl): SitesRequestBuilder { - return new SitesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 08b0d226126..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SitesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SitesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SitesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SitesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SitesRequestBuilderGetQueryParameters { - return new SitesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 8cd07f72d9d..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a2165bf8b0e..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TermStoreRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TermStoreRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TermStoreRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TermStoreRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TermStoreRequestBuilderGetQueryParameters { - return new TermStoreRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 8d61b816dbc..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php deleted file mode 100644 index 041f422e054..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/termStores{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of termStores under this site. - * @param TermStoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TermStoresRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [StoreCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to termStores for groups - * @param Store $body The request body - * @param TermStoresRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Store $body, ?TermStoresRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of termStores under this site. - * @param TermStoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TermStoresRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to termStores for groups - * @param Store $body The request body - * @param TermStoresRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Store $body, ?TermStoresRequestBuilderPostRequestConfiguration $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 TermStoresRequestBuilder - */ - public function withUrl(string $rawUrl): TermStoresRequestBuilder { - return new TermStoresRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php deleted file mode 100644 index a8d4834fe42..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new TermStoresRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3a69dea8587..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TermStoresRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TermStoresRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TermStoresRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return TermStoresRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TermStoresRequestBuilderGetQueryParameters { - return new TermStoresRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f203b9d524e..00000000000 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php index 35f040e0e45..a91853a27c0 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php @@ -14,7 +14,6 @@ use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\GetActivitiesByInterval\GetActivitiesByIntervalRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval\GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\GetApplicableContentTypesForListWithListId\GetApplicableContentTypesForListWithListIdRequestBuilder; -use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\GetByPathWithPath1\GetByPathWithPath1RequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\Items\ItemsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\LastModifiedByUser\LastModifiedByUserRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\GetByPathWithPath\Lists\ListsRequestBuilder; @@ -214,15 +213,6 @@ public function getApplicableContentTypesForListWithListId(string $listId): GetA return new GetApplicableContentTypesForListWithListIdRequestBuilder($this->pathParameters, $this->requestAdapter, $listId); } - /** - * Provides operations to call the getByPath method. - * @param string $path1 Usage: path='{path1}' - * @return GetByPathWithPath1RequestBuilder - */ - public function getByPathWithPath1(string $path1): GetByPathWithPath1RequestBuilder { - return new GetByPathWithPath1RequestBuilder($this->pathParameters, $this->requestAdapter, $path1); - } - /** * Invoke function getByPath * @param GetByPathWithPathRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php index cb82b45d88d..f10ec3b68f4 100644 --- a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\Channels\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\ChannelItemRequestBuilder; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ChannelCollectionResponse; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the channels property of the microsoft.graph.team entity. * @param string $channelId The unique identifier of channel diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentGetResponse.php b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentGetResponse.php rename to src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php index c40295c914d..54e33888ba4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentGetResponse.php +++ b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -1,18 +1,18 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 56% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php rename to src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index a8c4606b59c..c61de3e6b5c 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,10 +1,9 @@ |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}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/drive{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The default drive (document library) for this site. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Drive::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * The default drive (document library) for this site. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat /** * 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 DriveRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): DriveRequestBuilder { - return new DriveRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php rename to src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index 035c6b0cc54..20ece9759f7 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php similarity index 54% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php index 2ddfbad103e..f4915f93400 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param DrivesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?DrivesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new DrivesRequestBuilderGetQueryParameters. + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Dri * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return DrivesRequestBuilderGetQueryParameters + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DrivesRequestBuilderGetQueryParameters { - return new DrivesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyPostRequestBody.php b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyPostRequestBody.php rename to src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.php index 8f2521e257d..2e24118d51b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyPostRequestBody.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddCopyPostRequestBody + * @return ArchivePostRequestBody */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddCopyPostRequestBody { - return new AddCopyPostRequestBody(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); } /** @@ -55,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the contentType property value. The contentType property - * @return string|null - */ - public function getContentType(): ?string { - $val = $this->getBackingStore()->get('contentType'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'contentType'"); - } - /** * The deserialization information for the current model * @return array @@ -74,16 +62,28 @@ public function getContentType(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ - 'contentType' => fn(ParseNode $n) => $o->setContentType($n->getStringValue()), + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), ]; } + /** + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @return bool|null + */ + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('contentType', $this->getContentType()); + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,11 +104,11 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the contentType property value. The contentType property - * @param string|null $value Value to set for the contentType property. + * Sets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. */ - public function setContentType(?string $value): void { - $this->getBackingStore()->set('contentType', $value); + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); } } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..ca6db0a05be --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php similarity index 73% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php index e351f0f24c8..d9fe488cd8b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php index a597c516f6e..242b2964a81 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\FilesFolder\FilesFolderRequestBuilder; @@ -13,6 +14,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -25,6 +27,13 @@ */ class ChannelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ChannelItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilder.php similarity index 52% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php rename to src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilder.php index 84919cbf194..a25fd28126f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilder.php @@ -1,28 +1,27 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/averageIf'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/unarchive'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,27 +30,26 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke action averageIf - * @param AverageIfPostRequestBody $body The request body - * @param AverageIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here */ - public function post(AverageIfPostRequestBody $body, ?AverageIfRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); } /** - * Invoke action averageIf - * @param AverageIfPostRequestBody $body The request body - * @param AverageIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(AverageIfPostRequestBody $body, ?AverageIfRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -61,17 +59,16 @@ public function toPostRequestInformation(AverageIfPostRequestBody $body, ?Averag $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 AverageIfRequestBuilder + * @return UnarchiveRequestBuilder */ - public function withUrl(string $rawUrl): AverageIfRequestBuilder { - return new AverageIfRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php index 173fc1504c1..32c40a14eee 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php rename to src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.php index ffe4c7b77c0..d49cd663a56 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetDataPostRequestBody + * @return ArchivePostRequestBody */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetDataPostRequestBody { - return new SetDataPostRequestBody(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); } /** @@ -62,20 +62,20 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), ]; } /** - * Gets the seriesBy property value. The seriesBy property - * @return string|null + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @return bool|null */ - public function getSeriesBy(): ?string { - $val = $this->getBackingStore()->get('seriesBy'); - if (is_null($val) || is_string($val)) { + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); + if (is_null($val) || is_bool($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); } /** @@ -83,7 +83,7 @@ public function getSeriesBy(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('seriesBy', $this->getSeriesBy()); + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,11 +104,11 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the seriesBy property value. The seriesBy property - * @param string|null $value Value to set for the seriesBy property. + * Sets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. */ - public function setSeriesBy(?string $value): void { - $this->getBackingStore()->set('seriesBy', $value); + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); } } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..b7e9c60f1a2 --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/primaryChannel/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php similarity index 73% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderPostRequestConfiguration.php rename to src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php index eb87d32c07c..e799d81ad47 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php index e81d7b777a5..13e2ae68233 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\FilesFolder\FilesFolderRequestBuilder; @@ -13,6 +14,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -25,6 +27,13 @@ */ class PrimaryChannelRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new PrimaryChannelRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php rename to src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php index 72202d963fc..c5394588c1a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/application/calculate'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/primaryChannel/unarchive'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,15 +30,14 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Recalculate all currently opened workbooks in Excel. - * @param CalculatePostRequestBody $body The request body - * @param CalculateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbookapplication-calculate?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here */ - public function post(CalculatePostRequestBody $body, ?CalculateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,12 +45,11 @@ public function post(CalculatePostRequestBody $body, ?CalculateRequestBuilderPos } /** - * Recalculate all currently opened workbooks in Excel. - * @param CalculatePostRequestBody $body The request body - * @param CalculateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(CalculatePostRequestBody $body, ?CalculateRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -61,17 +59,16 @@ public function toPostRequestInformation(CalculatePostRequestBody $body, ?Calcul $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 CalculateRequestBuilder + * @return UnarchiveRequestBuilder */ - public function withUrl(string $rawUrl): CalculateRequestBuilder { - return new CalculateRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php index 69524523d80..623cdc84bc1 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 04396934579..3d105dcf507 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -60,7 +60,7 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + * Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -115,7 +115,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. + * Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder.php b/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder.php index 6665230b295..e594476bf09 100644 --- a/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder.php +++ b/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder.php @@ -6,11 +6,11 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Identity\AuthenticationEventsFlows\Item\GraphExternalUsersSelfServiceSignUpEventsFlow\OnAttributeCollection\GraphOnAttributeCollectionExternalUsersSelfServiceSignUp\Attributes\AttributesRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Models\OnAttributeCollectionExternalUsersSelfServiceSignUp; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; use Microsoft\Kiota\Abstractions\RequestInformation; -use Psr\Http\Message\StreamInterface; /** * Casts the previous resource to onAttributeCollectionExternalUsersSelfServiceSignUp. @@ -39,9 +39,9 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the items of type microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp in the microsoft.graph.onAttributeCollectionHandler collection + * Get the item of type microsoft.graph.onAttributeCollectionHandler as microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp * @param GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @return Promise * @throws Exception */ public function get(?GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { @@ -49,13 +49,11 @@ public function get(?GraphOnAttributeCollectionExternalUsersSelfServiceSignUpReq $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; + return $this->requestAdapter->sendAsync($requestInfo, [OnAttributeCollectionExternalUsersSelfServiceSignUp::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Get the items of type microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp in the microsoft.graph.onAttributeCollectionHandler collection + * Get the item of type microsoft.graph.onAttributeCollectionHandler as microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp * @param GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder.php b/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder.php index f77f9b64a81..ba97464f217 100644 --- a/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder.php +++ b/src/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder.php @@ -6,11 +6,11 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Identity\AuthenticationEventsFlows\Item\GraphExternalUsersSelfServiceSignUpEventsFlow\OnAuthenticationMethodLoadStart\GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp\IdentityProviders\IdentityProvidersRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Models\OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; use Microsoft\Kiota\Abstractions\RequestInformation; -use Psr\Http\Message\StreamInterface; /** * Casts the previous resource to onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp. @@ -39,9 +39,9 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the items of type microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp in the microsoft.graph.onAuthenticationMethodLoadStartHandler collection + * Get the item of type microsoft.graph.onAuthenticationMethodLoadStartHandler as microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp * @param GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @return Promise * @throws Exception */ public function get(?GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { @@ -49,13 +49,11 @@ public function get(?GraphOnAuthenticationMethodLoadStartExternalUsersSelfServic $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; + return $this->requestAdapter->sendAsync($requestInfo, [OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Get the items of type microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp in the microsoft.graph.onAuthenticationMethodLoadStartHandler collection + * Get the item of type microsoft.graph.onAuthenticationMethodLoadStartHandler as microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp * @param GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php index ab41f4fa255..e29a755ab5d 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?CombinationConfigurationsRequestBuilderGetRequestConfigurat } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. + * Create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfiguration* x509certificatecombinationconfiguration * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -83,7 +83,7 @@ public function post(AuthenticationCombinationConfiguration $body, ?CombinationC } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?CombinationConfigurationsRequestBuilder } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. + * Create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfiguration* x509certificatecombinationconfiguration * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php index 429cfbe7347..8d9314e4f1b 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. */ class CombinationConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php index cabd003450e..ea6f099b46c 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?AuthenticationCombinationConfigurationItemRequestBuilderGet } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. + * Update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -116,7 +116,7 @@ public function toGetRequestInformation(?AuthenticationCombinationConfigurationI } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. + * Update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|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/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 3a1cd3c371c..22b3fb5a500 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 a countryNamedLocation object. + * Delete an ipNamedLocation 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/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php index e9cfc8fd062..ea4fe4fe7e2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php @@ -93,12 +93,11 @@ public function get(?AccessPackageAssignmentPolicyItemRequestBuilderGetRequestCo } /** - * Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description. + * Update the navigation property assignmentPolicies in identityGovernance * @param AccessPackageAssignmentPolicy $body The request body * @param AccessPackageAssignmentPolicyItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-update?view=graph-rest-1.0 Find more info here */ public function put(AccessPackageAssignmentPolicy $body, ?AccessPackageAssignmentPolicyItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -148,7 +147,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentPolicyItemReques } /** - * Update an existing accessPackageAssignmentPolicy object to change one or more of its properties, such as the display name or description. + * Update the navigation property assignmentPolicies in identityGovernance * @param AccessPackageAssignmentPolicy $body The request body * @param AccessPackageAssignmentPolicyItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 8f1a3f0774b..7f26d59ce82 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 Find more info here */ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index dae8c9ba9e5..e76ab2b8876 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php index fa38c94c318..ff77f97cf52 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php @@ -123,7 +123,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param WorkflowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/identitygovernance-deletedItemcontainer-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/identitygovernance-deleteditemcontainer-delete?view=graph-rest-1.0 Find more info here */ public function delete(?WorkflowItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Invitations/InvitationsRequestBuilder.php b/src/Generated/Invitations/InvitationsRequestBuilder.php index 885c226a923..375b47ff969 100644 --- a/src/Generated/Invitations/InvitationsRequestBuilder.php +++ b/src/Generated/Invitations/InvitationsRequestBuilder.php @@ -5,7 +5,8 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Generated\Invitations\Count\CountRequestBuilder; -use Microsoft\Graph\Generated\Invitations\Item\InvitationItemRequestBuilder; +use Microsoft\Graph\Generated\Invitations\InvitedUser\InvitedUserRequestBuilder; +use Microsoft\Graph\Generated\Invitations\InvitedUserSponsors\InvitedUserSponsorsRequestBuilder; use Microsoft\Graph\Generated\Models\Invitation; use Microsoft\Graph\Generated\Models\InvitationCollectionResponse; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -27,16 +28,19 @@ public function count(): CountRequestBuilder { } /** - * Provides operations to manage the collection of invitation entities. - * @param string $invitationId The unique identifier of invitation - * @return InvitationItemRequestBuilder + * Provides operations to manage the invitedUser property of the microsoft.graph.invitation entity. */ - public function byInvitationId(string $invitationId): InvitationItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['invitation%2Did'] = $invitationId; - return new InvitationItemRequestBuilder($urlTplParams, $this->requestAdapter); + public function invitedUser(): InvitedUserRequestBuilder { + return new InvitedUserRequestBuilder($this->pathParameters, $this->requestAdapter); } - + + /** + * Provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. + */ + public function invitedUserSponsors(): InvitedUserSponsorsRequestBuilder { + return new InvitedUserSponsorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new InvitationsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php b/src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilder.php similarity index 92% rename from src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php rename to src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilder.php index 75f75d554cb..78438fe0c62 100644 --- a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php +++ b/src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilder.php @@ -1,11 +1,11 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php similarity index 93% rename from src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php index 67b0d264df4..fe01afb3a4b 100644 --- a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUser/InvitedUserRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php similarity index 92% rename from src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php index 2ebd2dcd72d..2a3492ca0bb 100644 --- a/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php similarity index 90% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php index e9932bfe336..1ea01b41556 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php similarity index 96% rename from src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php index 03b419a269f..485ec90f993 100644 --- a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php similarity index 91% rename from src/Generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php index 1ce9049b373..3e42af0b8ce 100644 --- a/src/Generated/Invitations/Item/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUserSponsors/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php similarity index 97% rename from src/Generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php index 0496ce20607..c51b32d096f 100644 --- a/src/Generated/Invitations/Item/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUserSponsors/InvitedUserSponsorsRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php b/src/Generated/Invitations/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php similarity index 93% rename from src/Generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php rename to src/Generated/Invitations/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php index 4bc71b67de8..4590bf58dec 100644 --- a/src/Generated/Invitations/Item/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Invitations/InvitedUserSponsors/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. - */ - public function invitedUserSponsors(): InvitedUserSponsorsRequestBuilder { - return new InvitedUserSponsorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new InvitationItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/invitations/{invitation%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete entity from invitations - * @param InvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?InvitationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Get entity from invitations by key - * @param InvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?InvitationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Invitation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update entity in invitations - * @param Invitation $body The request body - * @param InvitationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(Invitation $body, ?InvitationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Invitation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete entity from invitations - * @param InvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?InvitationItemRequestBuilderDeleteRequestConfiguration $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 entity from invitations by key - * @param InvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?InvitationItemRequestBuilderGetRequestConfiguration $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 entity in invitations - * @param Invitation $body The request body - * @param InvitationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(Invitation $body, ?InvitationItemRequestBuilderPatchRequestConfiguration $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 InvitationItemRequestBuilder - */ - public function withUrl(string $rawUrl): InvitationItemRequestBuilder { - return new InvitationItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Invitations/Item/InvitationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Invitations/Item/InvitationItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index bc1b5e615be..00000000000 --- a/src/Generated/Invitations/Item/InvitationItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Invitations/Item/InvitationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Invitations/Item/InvitationItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 125a96380bd..00000000000 --- a/src/Generated/Invitations/Item/InvitationItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param InvitationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?InvitationItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new InvitationItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return InvitationItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): InvitationItemRequestBuilderGetQueryParameters { - return new InvitationItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Invitations/Item/InvitationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Invitations/Item/InvitationItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a795c456805..00000000000 --- a/src/Generated/Invitations/Item/InvitationItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Models/AccessPackage.php b/src/Generated/Models/AccessPackage.php index dbd2319d1fb..3da9eec0360 100644 --- a/src/Generated/Models/AccessPackage.php +++ b/src/Generated/Models/AccessPackage.php @@ -152,7 +152,7 @@ public function getIncompatibleGroups(): ?array { } /** - * Gets the isHidden property value. Whether the access package is hidden from the requestor. + * Gets the isHidden property value. Indicates whether the access package is hidden from the requestor. * @return bool|null */ public function getIsHidden(): ?bool { @@ -273,7 +273,7 @@ public function setIncompatibleGroups(?array $value): void { } /** - * Sets the isHidden property value. Whether the access package is hidden from the requestor. + * Sets the isHidden property value. Indicates whether the access package is hidden from the requestor. * @param bool|null $value Value to set for the isHidden property. */ public function setIsHidden(?bool $value): void { diff --git a/src/Generated/Models/AppManagementApplicationConfiguration.php b/src/Generated/Models/AppManagementApplicationConfiguration.php new file mode 100644 index 00000000000..c348dee9d7a --- /dev/null +++ b/src/Generated/Models/AppManagementApplicationConfiguration.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.appManagementApplicationConfiguration'); + } + + /** + * 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 AppManagementApplicationConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AppManagementApplicationConfiguration { + return new AppManagementApplicationConfiguration(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/AppManagementConfiguration.php b/src/Generated/Models/AppManagementConfiguration.php index 6c5c4881ddf..c31be0f6b3c 100644 --- a/src/Generated/Models/AppManagementConfiguration.php +++ b/src/Generated/Models/AppManagementConfiguration.php @@ -32,6 +32,15 @@ public function __construct() { * @return AppManagementConfiguration */ public static function createFromDiscriminatorValue(ParseNode $parseNode): AppManagementConfiguration { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.appManagementApplicationConfiguration': return new AppManagementApplicationConfiguration(); + case '#microsoft.graph.appManagementServicePrincipalConfiguration': return new AppManagementServicePrincipalConfiguration(); + case '#microsoft.graph.customAppManagementConfiguration': return new CustomAppManagementConfiguration(); + } + } return new AppManagementConfiguration(); } diff --git a/src/Generated/Models/AppManagementPolicy.php b/src/Generated/Models/AppManagementPolicy.php index 3df3c541f3e..172c0cbccb4 100644 --- a/src/Generated/Models/AppManagementPolicy.php +++ b/src/Generated/Models/AppManagementPolicy.php @@ -49,7 +49,7 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'appliesTo' => fn(ParseNode $n) => $o->setAppliesTo($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), - 'restrictions' => fn(ParseNode $n) => $o->setRestrictions($n->getObjectValue([AppManagementConfiguration::class, 'createFromDiscriminatorValue'])), + 'restrictions' => fn(ParseNode $n) => $o->setRestrictions($n->getObjectValue([CustomAppManagementConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -67,11 +67,11 @@ public function getIsEnabled(): ?bool { /** * Gets the restrictions property value. Restrictions that apply to an application or service principal object. - * @return AppManagementConfiguration|null + * @return CustomAppManagementConfiguration|null */ - public function getRestrictions(): ?AppManagementConfiguration { + public function getRestrictions(): ?CustomAppManagementConfiguration { $val = $this->getBackingStore()->get('restrictions'); - if (is_null($val) || $val instanceof AppManagementConfiguration) { + if (is_null($val) || $val instanceof CustomAppManagementConfiguration) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictions'"); @@ -106,9 +106,9 @@ public function setIsEnabled(?bool $value): void { /** * Sets the restrictions property value. Restrictions that apply to an application or service principal object. - * @param AppManagementConfiguration|null $value Value to set for the restrictions property. + * @param CustomAppManagementConfiguration|null $value Value to set for the restrictions property. */ - public function setRestrictions(?AppManagementConfiguration $value): void { + public function setRestrictions(?CustomAppManagementConfiguration $value): void { $this->getBackingStore()->set('restrictions', $value); } diff --git a/src/Generated/Models/AppManagementServicePrincipalConfiguration.php b/src/Generated/Models/AppManagementServicePrincipalConfiguration.php new file mode 100644 index 00000000000..c79199860a1 --- /dev/null +++ b/src/Generated/Models/AppManagementServicePrincipalConfiguration.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.appManagementServicePrincipalConfiguration'); + } + + /** + * 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 AppManagementServicePrincipalConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AppManagementServicePrincipalConfiguration { + return new AppManagementServicePrincipalConfiguration(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/Application.php b/src/Generated/Models/Application.php index ac6f60dc5c2..a772d37b489 100644 --- a/src/Generated/Models/Application.php +++ b/src/Generated/Models/Application.php @@ -255,6 +255,7 @@ public function getFieldDeserializers(): array { 'isFallbackPublicClient' => fn(ParseNode $n) => $o->setIsFallbackPublicClient($n->getBooleanValue()), 'keyCredentials' => fn(ParseNode $n) => $o->setKeyCredentials($n->getCollectionOfObjectValues([KeyCredential::class, 'createFromDiscriminatorValue'])), 'logo' => fn(ParseNode $n) => $o->setLogo($n->getBinaryContent()), + 'nativeAuthenticationApisEnabled' => fn(ParseNode $n) => $o->setNativeAuthenticationApisEnabled($n->getEnumValue(NativeAuthenticationApisEnabled::class)), 'notes' => fn(ParseNode $n) => $o->setNotes($n->getStringValue()), 'oauth2RequirePostResponse' => fn(ParseNode $n) => $o->setOauth2RequirePostResponse($n->getBooleanValue()), 'optionalClaims' => fn(ParseNode $n) => $o->setOptionalClaims($n->getObjectValue([OptionalClaims::class, 'createFromDiscriminatorValue'])), @@ -390,6 +391,18 @@ public function getLogo(): ?StreamInterface { throw new \UnexpectedValueException("Invalid type found in backing store for 'logo'"); } + /** + * Gets the nativeAuthenticationApisEnabled property value. Specifies whether the Native Authentication APIs are enabled for the application. The possible values are: none and all. Default is none. For more information, see Native Authentication. + * @return NativeAuthenticationApisEnabled|null + */ + public function getNativeAuthenticationApisEnabled(): ?NativeAuthenticationApisEnabled { + $val = $this->getBackingStore()->get('nativeAuthenticationApisEnabled'); + if (is_null($val) || $val instanceof NativeAuthenticationApisEnabled) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'nativeAuthenticationApisEnabled'"); + } + /** * Gets the notes property value. Notes relevant for the management of the application. * @return string|null @@ -707,6 +720,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('isFallbackPublicClient', $this->getIsFallbackPublicClient()); $writer->writeCollectionOfObjectValues('keyCredentials', $this->getKeyCredentials()); $writer->writeBinaryContent('logo', $this->getLogo()); + $writer->writeEnumValue('nativeAuthenticationApisEnabled', $this->getNativeAuthenticationApisEnabled()); $writer->writeStringValue('notes', $this->getNotes()); $writer->writeBooleanValue('oauth2RequirePostResponse', $this->getOauth2RequirePostResponse()); $writer->writeObjectValue('optionalClaims', $this->getOptionalClaims()); @@ -916,6 +930,14 @@ public function setLogo(?StreamInterface $value): void { $this->getBackingStore()->set('logo', $value); } + /** + * Sets the nativeAuthenticationApisEnabled property value. Specifies whether the Native Authentication APIs are enabled for the application. The possible values are: none and all. Default is none. For more information, see Native Authentication. + * @param NativeAuthenticationApisEnabled|null $value Value to set for the nativeAuthenticationApisEnabled property. + */ + public function setNativeAuthenticationApisEnabled(?NativeAuthenticationApisEnabled $value): void { + $this->getBackingStore()->set('nativeAuthenticationApisEnabled', $value); + } + /** * Sets the notes property value. Notes relevant for the management of the application. * @param string|null $value Value to set for the notes property. diff --git a/src/Generated/Models/AppliedConditionalAccessPolicy.php b/src/Generated/Models/AppliedConditionalAccessPolicy.php index f6c3e4e7979..c91ec3bffdf 100644 --- a/src/Generated/Models/AppliedConditionalAccessPolicy.php +++ b/src/Generated/Models/AppliedConditionalAccessPolicy.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce'). + * Gets the displayName property value. Refers to the name of the conditional access policy (example: 'Require MFA for Salesforce'). * @return string|null */ public function getDisplayName(): ?string { @@ -151,7 +151,7 @@ public function getOdataType(): ?string { } /** - * Gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * Gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. * @return AppliedConditionalAccessPolicyResult|null */ public function getResult(): ?AppliedConditionalAccessPolicyResult { @@ -193,7 +193,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce'). + * Sets the displayName property value. Refers to the name of the conditional access policy (example: 'Require MFA for Salesforce'). * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -233,7 +233,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * Sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. * @param AppliedConditionalAccessPolicyResult|null $value Value to set for the result property. */ public function setResult(?AppliedConditionalAccessPolicyResult $value): void { diff --git a/src/Generated/Models/AssignedLicense.php b/src/Generated/Models/AssignedLicense.php index b1664aa976e..98effa4b4b2 100644 --- a/src/Generated/Models/AssignedLicense.php +++ b/src/Generated/Models/AssignedLicense.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the disabledPlans property value. A collection of the unique identifiers for plans that have been disabled. + * Gets the disabledPlans property value. A collection of the unique identifiers for plans that have been disabled. IDs are available in servicePlans > servicePlanId in the tenant's subscribedSkus or serviceStatus > servicePlanId in the tenant's companySubscription. * @return array|null */ public function getDisabledPlans(): ?array { @@ -103,7 +103,7 @@ public function getOdataType(): ?string { } /** - * Gets the skuId property value. The unique identifier for the SKU. + * Gets the skuId property value. The unique identifier for the SKU. Corresponds to the skuId from subscribedSkus or companySubscription. * @return string|null */ public function getSkuId(): ?string { @@ -142,7 +142,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the disabledPlans property value. A collection of the unique identifiers for plans that have been disabled. + * Sets the disabledPlans property value. A collection of the unique identifiers for plans that have been disabled. IDs are available in servicePlans > servicePlanId in the tenant's subscribedSkus or serviceStatus > servicePlanId in the tenant's companySubscription. * @param array|null $value Value to set for the disabledPlans property. */ public function setDisabledPlans(?array $value): void { @@ -158,7 +158,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the skuId property value. The unique identifier for the SKU. + * Sets the skuId property value. The unique identifier for the SKU. Corresponds to the skuId from subscribedSkus or companySubscription. * @param string|null $value Value to set for the skuId property. */ public function setSkuId(?string $value): void { diff --git a/src/Generated/Models/AssignmentType.php b/src/Generated/Models/AssignmentType.php index 258e0e9c9c5..942a740faa7 100644 --- a/src/Generated/Models/AssignmentType.php +++ b/src/Generated/Models/AssignmentType.php @@ -8,4 +8,5 @@ class AssignmentType extends Enum { public const REQUIRED = 'required'; public const RECOMMENDED = 'recommended'; public const UNKNOWN_FUTURE_VALUE = 'unknownFutureValue'; + public const PEER_RECOMMENDED = 'peerRecommended'; } diff --git a/src/Generated/Models/Authentication.php b/src/Generated/Models/Authentication.php index fa3042fbbd0..fd941f80f80 100644 --- a/src/Generated/Models/Authentication.php +++ b/src/Generated/Models/Authentication.php @@ -102,7 +102,7 @@ public function getMicrosoftAuthenticatorMethods(): ?array { } /** - * Gets the operations property value. Represents the status of a long-running operation. + * Gets the operations property value. Represents the status of a long-running operation, such as a password reset operation. * @return array|null */ public function getOperations(): ?array { @@ -236,7 +236,7 @@ public function setMicrosoftAuthenticatorMethods(?array $value): void { } /** - * Sets the operations property value. Represents the status of a long-running operation. + * Sets the operations property value. Represents the status of a long-running operation, such as a password reset operation. * @param array|null $value Value to set for the operations property. */ public function setOperations(?array $value): void { diff --git a/src/Generated/Models/AuthenticationCombinationConfiguration.php b/src/Generated/Models/AuthenticationCombinationConfiguration.php index a646fbe9fa1..0a6981130dc 100644 --- a/src/Generated/Models/AuthenticationCombinationConfiguration.php +++ b/src/Generated/Models/AuthenticationCombinationConfiguration.php @@ -34,7 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe } /** - * Gets the appliesToCombinations property value. Which authentication method combinations this configuration applies to. Must be an allowedCombinations object that's defined for the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'. + * Gets the appliesToCombinations property value. Which authentication method combinations this configuration applies to. Must be an allowedCombinations object, part of the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'. * @return array|null */ public function getAppliesToCombinations(): ?array { @@ -68,7 +68,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the appliesToCombinations property value. Which authentication method combinations this configuration applies to. Must be an allowedCombinations object that's defined for the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'. + * Sets the appliesToCombinations property value. Which authentication method combinations this configuration applies to. Must be an allowedCombinations object, part of the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'. * @param array|null $value Value to set for the appliesToCombinations property. */ public function setAppliesToCombinations(?array $value): void { diff --git a/src/Generated/Models/BookingAppointment.php b/src/Generated/Models/BookingAppointment.php index 8c0cdbf727e..4f551c8074a 100644 --- a/src/Generated/Models/BookingAppointment.php +++ b/src/Generated/Models/BookingAppointment.php @@ -3,6 +3,7 @@ namespace Microsoft\Graph\Generated\Models; use DateInterval; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -54,7 +55,31 @@ public function getAnonymousJoinWebUrl(): ?string { } /** - * Gets the customerEmailAddress property value. The customerEmailAddress property + * Gets the appointmentLabel property value. The custom label that can be stamped on this appointment by users. + * @return string|null + */ + public function getAppointmentLabel(): ?string { + $val = $this->getBackingStore()->get('appointmentLabel'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'appointmentLabel'"); + } + + /** + * Gets the createdDateTime property value. The date, time, and time zone when the appointment was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the customerEmailAddress property value. The SMTP address of the bookingCustomer who books the appointment. * @return string|null */ public function getCustomerEmailAddress(): ?string { @@ -66,7 +91,7 @@ public function getCustomerEmailAddress(): ?string { } /** - * Gets the customerName property value. The customerName property + * Gets the customerName property value. The customer's name. * @return string|null */ public function getCustomerName(): ?string { @@ -78,7 +103,7 @@ public function getCustomerName(): ?string { } /** - * Gets the customerNotes property value. Notes from the customer associated with this appointment. + * Gets the customerNotes property value. Notes from the customer associated with this appointment. You can get the value only when you read this bookingAppointment by its ID. You can set this property only when you initially create an appointment with a new customer. * @return string|null */ public function getCustomerNotes(): ?string { @@ -90,7 +115,7 @@ public function getCustomerNotes(): ?string { } /** - * Gets the customerPhone property value. The customerPhone property + * Gets the customerPhone property value. The customer's phone number. * @return string|null */ public function getCustomerPhone(): ?string { @@ -160,6 +185,8 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'additionalInformation' => fn(ParseNode $n) => $o->setAdditionalInformation($n->getStringValue()), 'anonymousJoinWebUrl' => fn(ParseNode $n) => $o->setAnonymousJoinWebUrl($n->getStringValue()), + 'appointmentLabel' => fn(ParseNode $n) => $o->setAppointmentLabel($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'customerEmailAddress' => fn(ParseNode $n) => $o->setCustomerEmailAddress($n->getStringValue()), 'customerName' => fn(ParseNode $n) => $o->setCustomerName($n->getStringValue()), 'customerNotes' => fn(ParseNode $n) => $o->setCustomerNotes($n->getStringValue()), @@ -169,8 +196,10 @@ public function getFieldDeserializers(): array { 'duration' => fn(ParseNode $n) => $o->setDuration($n->getDateIntervalValue()), 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), 'filledAttendeesCount' => fn(ParseNode $n) => $o->setFilledAttendeesCount($n->getIntegerValue()), + 'isCustomerAllowedToManageBooking' => fn(ParseNode $n) => $o->setIsCustomerAllowedToManageBooking($n->getBooleanValue()), 'isLocationOnline' => fn(ParseNode $n) => $o->setIsLocationOnline($n->getBooleanValue()), 'joinWebUrl' => fn(ParseNode $n) => $o->setJoinWebUrl($n->getStringValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'maximumAttendeesCount' => fn(ParseNode $n) => $o->setMaximumAttendeesCount($n->getIntegerValue()), 'optOutOfCustomerEmail' => fn(ParseNode $n) => $o->setOptOutOfCustomerEmail($n->getBooleanValue()), 'postBuffer' => fn(ParseNode $n) => $o->setPostBuffer($n->getDateIntervalValue()), @@ -197,7 +226,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the filledAttendeesCount property value. The current number of customers in the appointment + * Gets the filledAttendeesCount property value. The current number of customers in the appointment. * @return int|null */ public function getFilledAttendeesCount(): ?int { @@ -209,7 +238,19 @@ public function getFilledAttendeesCount(): ?int { } /** - * Gets the isLocationOnline property value. If true, indicates that the appointment will be held online. Default value is false. + * Gets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false. + * @return bool|null + */ + public function getIsCustomerAllowedToManageBooking(): ?bool { + $val = $this->getBackingStore()->get('isCustomerAllowedToManageBooking'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isCustomerAllowedToManageBooking'"); + } + + /** + * Gets the isLocationOnline property value. Indicates that the appointment is held online. The default value is false. * @return bool|null */ public function getIsLocationOnline(): ?bool { @@ -232,6 +273,18 @@ public function getJoinWebUrl(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'joinWebUrl'"); } + /** + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the booking business was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + /** * Gets the maximumAttendeesCount property value. The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. * @return int|null @@ -319,7 +372,7 @@ public function getReminders(): ?array { } /** - * Gets the selfServiceAppointmentId property value. An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. Only supported for appointment if maxAttendeeCount is 1. + * Gets the selfServiceAppointmentId property value. Another tracking ID for the appointment, if the appointment was created directly by the customer on the scheduling page, as opposed to by a staff member on behalf of the customer. * @return string|null */ public function getSelfServiceAppointmentId(): ?string { @@ -424,6 +477,8 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('additionalInformation', $this->getAdditionalInformation()); $writer->writeStringValue('anonymousJoinWebUrl', $this->getAnonymousJoinWebUrl()); + $writer->writeStringValue('appointmentLabel', $this->getAppointmentLabel()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('customerEmailAddress', $this->getCustomerEmailAddress()); $writer->writeStringValue('customerName', $this->getCustomerName()); $writer->writeStringValue('customerNotes', $this->getCustomerNotes()); @@ -431,8 +486,10 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('customers', $this->getCustomers()); $writer->writeStringValue('customerTimeZone', $this->getCustomerTimeZone()); $writer->writeObjectValue('endDateTime', $this->getEndDateTime()); + $writer->writeBooleanValue('isCustomerAllowedToManageBooking', $this->getIsCustomerAllowedToManageBooking()); $writer->writeBooleanValue('isLocationOnline', $this->getIsLocationOnline()); $writer->writeStringValue('joinWebUrl', $this->getJoinWebUrl()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeIntegerValue('maximumAttendeesCount', $this->getMaximumAttendeesCount()); $writer->writeBooleanValue('optOutOfCustomerEmail', $this->getOptOutOfCustomerEmail()); $writer->writeDateIntervalValue('postBuffer', $this->getPostBuffer()); @@ -467,7 +524,23 @@ public function setAnonymousJoinWebUrl(?string $value): void { } /** - * Sets the customerEmailAddress property value. The customerEmailAddress property + * Sets the appointmentLabel property value. The custom label that can be stamped on this appointment by users. + * @param string|null $value Value to set for the appointmentLabel property. + */ + public function setAppointmentLabel(?string $value): void { + $this->getBackingStore()->set('appointmentLabel', $value); + } + + /** + * Sets the createdDateTime property value. The date, time, and time zone when the appointment was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the customerEmailAddress property value. The SMTP address of the bookingCustomer who books the appointment. * @param string|null $value Value to set for the customerEmailAddress property. */ public function setCustomerEmailAddress(?string $value): void { @@ -475,7 +548,7 @@ public function setCustomerEmailAddress(?string $value): void { } /** - * Sets the customerName property value. The customerName property + * Sets the customerName property value. The customer's name. * @param string|null $value Value to set for the customerName property. */ public function setCustomerName(?string $value): void { @@ -483,7 +556,7 @@ public function setCustomerName(?string $value): void { } /** - * Sets the customerNotes property value. Notes from the customer associated with this appointment. + * Sets the customerNotes property value. Notes from the customer associated with this appointment. You can get the value only when you read this bookingAppointment by its ID. You can set this property only when you initially create an appointment with a new customer. * @param string|null $value Value to set for the customerNotes property. */ public function setCustomerNotes(?string $value): void { @@ -491,7 +564,7 @@ public function setCustomerNotes(?string $value): void { } /** - * Sets the customerPhone property value. The customerPhone property + * Sets the customerPhone property value. The customer's phone number. * @param string|null $value Value to set for the customerPhone property. */ public function setCustomerPhone(?string $value): void { @@ -531,7 +604,7 @@ public function setEndDateTime(?DateTimeTimeZone $value): void { } /** - * Sets the filledAttendeesCount property value. The current number of customers in the appointment + * Sets the filledAttendeesCount property value. The current number of customers in the appointment. * @param int|null $value Value to set for the filledAttendeesCount property. */ public function setFilledAttendeesCount(?int $value): void { @@ -539,7 +612,15 @@ public function setFilledAttendeesCount(?int $value): void { } /** - * Sets the isLocationOnline property value. If true, indicates that the appointment will be held online. Default value is false. + * Sets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false. + * @param bool|null $value Value to set for the isCustomerAllowedToManageBooking property. + */ + public function setIsCustomerAllowedToManageBooking(?bool $value): void { + $this->getBackingStore()->set('isCustomerAllowedToManageBooking', $value); + } + + /** + * Sets the isLocationOnline property value. Indicates that the appointment is held online. The default value is false. * @param bool|null $value Value to set for the isLocationOnline property. */ public function setIsLocationOnline(?bool $value): void { @@ -554,6 +635,14 @@ public function setJoinWebUrl(?string $value): void { $this->getBackingStore()->set('joinWebUrl', $value); } + /** + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the booking business was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + /** * Sets the maximumAttendeesCount property value. The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. * @param int|null $value Value to set for the maximumAttendeesCount property. @@ -611,7 +700,7 @@ public function setReminders(?array $value): void { } /** - * Sets the selfServiceAppointmentId property value. An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. Only supported for appointment if maxAttendeeCount is 1. + * Sets the selfServiceAppointmentId property value. Another tracking ID for the appointment, if the appointment was created directly by the customer on the scheduling page, as opposed to by a staff member on behalf of the customer. * @param string|null $value Value to set for the selfServiceAppointmentId property. */ public function setSelfServiceAppointmentId(?string $value): void { diff --git a/src/Generated/Models/BookingBusiness.php b/src/Generated/Models/BookingBusiness.php index b521231a87a..f0d6feb8f2e 100644 --- a/src/Generated/Models/BookingBusiness.php +++ b/src/Generated/Models/BookingBusiness.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -54,6 +55,18 @@ public function getAppointments(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'appointments'"); } + /** + * Gets the bookingPageSettings property value. Settings for the published booking page. + * @return BookingPageSettings|null + */ + public function getBookingPageSettings(): ?BookingPageSettings { + $val = $this->getBackingStore()->get('bookingPageSettings'); + if (is_null($val) || $val instanceof BookingPageSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'bookingPageSettings'"); + } + /** * Gets the businessHours property value. The hours of operation for the business. * @return array|null @@ -94,6 +107,18 @@ public function getCalendarView(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'calendarView'"); } + /** + * Gets the createdDateTime property value. The date, time, and time zone when the booking business was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + /** * Gets the customers property value. All the customers of this business. Read-only. Nullable. * @return array|null @@ -167,9 +192,11 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'address' => fn(ParseNode $n) => $o->setAddress($n->getObjectValue([PhysicalAddress::class, 'createFromDiscriminatorValue'])), 'appointments' => fn(ParseNode $n) => $o->setAppointments($n->getCollectionOfObjectValues([BookingAppointment::class, 'createFromDiscriminatorValue'])), + 'bookingPageSettings' => fn(ParseNode $n) => $o->setBookingPageSettings($n->getObjectValue([BookingPageSettings::class, 'createFromDiscriminatorValue'])), 'businessHours' => fn(ParseNode $n) => $o->setBusinessHours($n->getCollectionOfObjectValues([BookingWorkHours::class, 'createFromDiscriminatorValue'])), 'businessType' => fn(ParseNode $n) => $o->setBusinessType($n->getStringValue()), 'calendarView' => fn(ParseNode $n) => $o->setCalendarView($n->getCollectionOfObjectValues([BookingAppointment::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'customers' => fn(ParseNode $n) => $o->setCustomers($n->getCollectionOfObjectValues([BookingCustomerBase::class, 'createFromDiscriminatorValue'])), 'customQuestions' => fn(ParseNode $n) => $o->setCustomQuestions($n->getCollectionOfObjectValues([BookingCustomQuestion::class, 'createFromDiscriminatorValue'])), 'defaultCurrencyIso' => fn(ParseNode $n) => $o->setDefaultCurrencyIso($n->getStringValue()), @@ -177,6 +204,7 @@ public function getFieldDeserializers(): array { 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), 'isPublished' => fn(ParseNode $n) => $o->setIsPublished($n->getBooleanValue()), 'languageTag' => fn(ParseNode $n) => $o->setLanguageTag($n->getStringValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'phone' => fn(ParseNode $n) => $o->setPhone($n->getStringValue()), 'publicUrl' => fn(ParseNode $n) => $o->setPublicUrl($n->getStringValue()), 'schedulingPolicy' => fn(ParseNode $n) => $o->setSchedulingPolicy($n->getObjectValue([BookingSchedulingPolicy::class, 'createFromDiscriminatorValue'])), @@ -210,6 +238,18 @@ public function getLanguageTag(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'languageTag'"); } + /** + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the booking business was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + /** * Gets the phone property value. The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. * @return string|null @@ -294,15 +334,18 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('address', $this->getAddress()); $writer->writeCollectionOfObjectValues('appointments', $this->getAppointments()); + $writer->writeObjectValue('bookingPageSettings', $this->getBookingPageSettings()); $writer->writeCollectionOfObjectValues('businessHours', $this->getBusinessHours()); $writer->writeStringValue('businessType', $this->getBusinessType()); $writer->writeCollectionOfObjectValues('calendarView', $this->getCalendarView()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeCollectionOfObjectValues('customers', $this->getCustomers()); $writer->writeCollectionOfObjectValues('customQuestions', $this->getCustomQuestions()); $writer->writeStringValue('defaultCurrencyIso', $this->getDefaultCurrencyIso()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('email', $this->getEmail()); $writer->writeStringValue('languageTag', $this->getLanguageTag()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeStringValue('phone', $this->getPhone()); $writer->writeObjectValue('schedulingPolicy', $this->getSchedulingPolicy()); $writer->writeCollectionOfObjectValues('services', $this->getServices()); @@ -326,6 +369,14 @@ public function setAppointments(?array $value): void { $this->getBackingStore()->set('appointments', $value); } + /** + * Sets the bookingPageSettings property value. Settings for the published booking page. + * @param BookingPageSettings|null $value Value to set for the bookingPageSettings property. + */ + public function setBookingPageSettings(?BookingPageSettings $value): void { + $this->getBackingStore()->set('bookingPageSettings', $value); + } + /** * Sets the businessHours property value. The hours of operation for the business. * @param array|null $value Value to set for the businessHours property. @@ -350,6 +401,14 @@ public function setCalendarView(?array $value): void { $this->getBackingStore()->set('calendarView', $value); } + /** + * Sets the createdDateTime property value. The date, time, and time zone when the booking business was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + /** * Sets the customers property value. All the customers of this business. Read-only. Nullable. * @param array|null $value Value to set for the customers property. @@ -406,6 +465,14 @@ public function setLanguageTag(?string $value): void { $this->getBackingStore()->set('languageTag', $value); } + /** + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the booking business was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + /** * Sets the phone property value. The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. * @param string|null $value Value to set for the phone property. diff --git a/src/Generated/Models/BookingCustomQuestion.php b/src/Generated/Models/BookingCustomQuestion.php index 7b7e214c558..857af5099b6 100644 --- a/src/Generated/Models/BookingCustomQuestion.php +++ b/src/Generated/Models/BookingCustomQuestion.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -54,6 +55,18 @@ public function getAnswerOptions(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'answerOptions'"); } + /** + * Gets the createdDateTime property value. The date, time, and time zone when the custom question was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + /** * Gets the displayName property value. The question. * @return string|null @@ -82,10 +95,24 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setAnswerOptions($val); }, + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), ]); } + /** + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the custom question was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -94,7 +121,9 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeEnumValue('answerInputType', $this->getAnswerInputType()); $writer->writeCollectionOfPrimitiveValues('answerOptions', $this->getAnswerOptions()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); } /** @@ -113,6 +142,14 @@ public function setAnswerOptions(?array $value): void { $this->getBackingStore()->set('answerOptions', $value); } + /** + * Sets the createdDateTime property value. The date, time, and time zone when the custom question was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + /** * Sets the displayName property value. The question. * @param string|null $value Value to set for the displayName property. @@ -121,4 +158,12 @@ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the custom question was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + } diff --git a/src/Generated/Models/BookingCustomer.php b/src/Generated/Models/BookingCustomer.php index 33799a2676a..19c648481fe 100644 --- a/src/Generated/Models/BookingCustomer.php +++ b/src/Generated/Models/BookingCustomer.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -30,7 +31,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Booki } /** - * Gets the addresses property value. Addresses associated with the customer. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others. + * Gets the addresses property value. Addresses associated with the customer. The attribute type of physicalAddress isn't supported in v1.0. Internally we map the addresses to the type others. * @return array|null */ public function getAddresses(): ?array { @@ -43,6 +44,18 @@ public function getAddresses(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'addresses'"); } + /** + * Gets the createdDateTime property value. The date, time, and time zone when the customer was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + /** * Gets the displayName property value. The name of the customer. * @return string|null @@ -75,14 +88,28 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'addresses' => fn(ParseNode $n) => $o->setAddresses($n->getCollectionOfObjectValues([PhysicalAddress::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'emailAddress' => fn(ParseNode $n) => $o->setEmailAddress($n->getStringValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'phones' => fn(ParseNode $n) => $o->setPhones($n->getCollectionOfObjectValues([Phone::class, 'createFromDiscriminatorValue'])), ]); } /** - * Gets the phones property value. Phone numbers associated with the customer, including home, business and mobile numbers. + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the customer was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + + /** + * Gets the phones property value. Phone numbers associated with the customer, including home, business, and mobile numbers. * @return array|null */ public function getPhones(): ?array { @@ -102,19 +129,29 @@ public function getPhones(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('addresses', $this->getAddresses()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('emailAddress', $this->getEmailAddress()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeCollectionOfObjectValues('phones', $this->getPhones()); } /** - * Sets the addresses property value. Addresses associated with the customer. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others. + * Sets the addresses property value. Addresses associated with the customer. The attribute type of physicalAddress isn't supported in v1.0. Internally we map the addresses to the type others. * @param array|null $value Value to set for the addresses property. */ public function setAddresses(?array $value): void { $this->getBackingStore()->set('addresses', $value); } + /** + * Sets the createdDateTime property value. The date, time, and time zone when the customer was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + /** * Sets the displayName property value. The name of the customer. * @param string|null $value Value to set for the displayName property. @@ -132,7 +169,15 @@ public function setEmailAddress(?string $value): void { } /** - * Sets the phones property value. Phone numbers associated with the customer, including home, business and mobile numbers. + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the customer was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + + /** + * Sets the phones property value. Phone numbers associated with the customer, including home, business, and mobile numbers. * @param array|null $value Value to set for the phones property. */ public function setPhones(?array $value): void { diff --git a/src/Generated/Models/BookingPageAccessControl.php b/src/Generated/Models/BookingPageAccessControl.php new file mode 100644 index 00000000000..04c6ea77d4a --- /dev/null +++ b/src/Generated/Models/BookingPageAccessControl.php @@ -0,0 +1,11 @@ +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 BookingPageSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BookingPageSettings { + return new BookingPageSettings(); + } + + /** + * Gets the accessControl property value. The accessControl property + * @return BookingPageAccessControl|null + */ + public function getAccessControl(): ?BookingPageAccessControl { + $val = $this->getBackingStore()->get('accessControl'); + if (is_null($val) || $val instanceof BookingPageAccessControl) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accessControl'"); + } + + /** + * 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 bookingPageColorCode property value. Custom color for the booking page. The value should be in Hex format. For example, #123456. + * @return string|null + */ + public function getBookingPageColorCode(): ?string { + $val = $this->getBackingStore()->get('bookingPageColorCode'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'bookingPageColorCode'"); + } + + /** + * Gets the businessTimeZone property value. The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * @return string|null + */ + public function getBusinessTimeZone(): ?string { + $val = $this->getBackingStore()->get('businessTimeZone'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'businessTimeZone'"); + } + + /** + * Gets the customerConsentMessage property value. The personal data collection and usage consent message in the booking page. + * @return string|null + */ + public function getCustomerConsentMessage(): ?string { + $val = $this->getBackingStore()->get('customerConsentMessage'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customerConsentMessage'"); + } + + /** + * Gets the enforceOneTimePassword property value. Determines whether the one-time password is required to create an appointment. The default value is false. + * @return bool|null + */ + public function getEnforceOneTimePassword(): ?bool { + $val = $this->getBackingStore()->get('enforceOneTimePassword'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'enforceOneTimePassword'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'accessControl' => fn(ParseNode $n) => $o->setAccessControl($n->getEnumValue(BookingPageAccessControl::class)), + 'bookingPageColorCode' => fn(ParseNode $n) => $o->setBookingPageColorCode($n->getStringValue()), + 'businessTimeZone' => fn(ParseNode $n) => $o->setBusinessTimeZone($n->getStringValue()), + 'customerConsentMessage' => fn(ParseNode $n) => $o->setCustomerConsentMessage($n->getStringValue()), + 'enforceOneTimePassword' => fn(ParseNode $n) => $o->setEnforceOneTimePassword($n->getBooleanValue()), + 'isBusinessLogoDisplayEnabled' => fn(ParseNode $n) => $o->setIsBusinessLogoDisplayEnabled($n->getBooleanValue()), + 'isCustomerConsentEnabled' => fn(ParseNode $n) => $o->setIsCustomerConsentEnabled($n->getBooleanValue()), + 'isSearchEngineIndexabilityDisabled' => fn(ParseNode $n) => $o->setIsSearchEngineIndexabilityDisabled($n->getBooleanValue()), + 'isTimeSlotTimeZoneSetToBusinessTimeZone' => fn(ParseNode $n) => $o->setIsTimeSlotTimeZoneSetToBusinessTimeZone($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'privacyPolicyWebUrl' => fn(ParseNode $n) => $o->setPrivacyPolicyWebUrl($n->getStringValue()), + 'termsAndConditionsWebUrl' => fn(ParseNode $n) => $o->setTermsAndConditionsWebUrl($n->getStringValue()), + ]; + } + + /** + * Gets the isBusinessLogoDisplayEnabled property value. Indicates whether the business logo is displayed on the booking page. The default value is false. + * @return bool|null + */ + public function getIsBusinessLogoDisplayEnabled(): ?bool { + $val = $this->getBackingStore()->get('isBusinessLogoDisplayEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isBusinessLogoDisplayEnabled'"); + } + + /** + * Gets the isCustomerConsentEnabled property value. Enables personal data collection and the usage consent toggle on the booking page. The default value is false. + * @return bool|null + */ + public function getIsCustomerConsentEnabled(): ?bool { + $val = $this->getBackingStore()->get('isCustomerConsentEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isCustomerConsentEnabled'"); + } + + /** + * Gets the isSearchEngineIndexabilityDisabled property value. Indicates whether web crawlers index this page. The defaults value is false. + * @return bool|null + */ + public function getIsSearchEngineIndexabilityDisabled(): ?bool { + $val = $this->getBackingStore()->get('isSearchEngineIndexabilityDisabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSearchEngineIndexabilityDisabled'"); + } + + /** + * Gets the isTimeSlotTimeZoneSetToBusinessTimeZone property value. Indicates whether the time zone of the time slot is set to the time zone of the business. The default value is false. + * @return bool|null + */ + public function getIsTimeSlotTimeZoneSetToBusinessTimeZone(): ?bool { + $val = $this->getBackingStore()->get('isTimeSlotTimeZoneSetToBusinessTimeZone'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isTimeSlotTimeZoneSetToBusinessTimeZone'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the privacyPolicyWebUrl property value. URL of a webpage that provides the terms and conditions of the business. If a privacy policy isn't included, the following text appears on the booking page as default: 'The policies and practices of {bookingbusinessname} apply to the use of your data.' + * @return string|null + */ + public function getPrivacyPolicyWebUrl(): ?string { + $val = $this->getBackingStore()->get('privacyPolicyWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'privacyPolicyWebUrl'"); + } + + /** + * Gets the termsAndConditionsWebUrl property value. URL of a webpage that provides the terms and conditions of the business. + * @return string|null + */ + public function getTermsAndConditionsWebUrl(): ?string { + $val = $this->getBackingStore()->get('termsAndConditionsWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'termsAndConditionsWebUrl'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('accessControl', $this->getAccessControl()); + $writer->writeStringValue('bookingPageColorCode', $this->getBookingPageColorCode()); + $writer->writeStringValue('businessTimeZone', $this->getBusinessTimeZone()); + $writer->writeStringValue('customerConsentMessage', $this->getCustomerConsentMessage()); + $writer->writeBooleanValue('enforceOneTimePassword', $this->getEnforceOneTimePassword()); + $writer->writeBooleanValue('isBusinessLogoDisplayEnabled', $this->getIsBusinessLogoDisplayEnabled()); + $writer->writeBooleanValue('isCustomerConsentEnabled', $this->getIsCustomerConsentEnabled()); + $writer->writeBooleanValue('isSearchEngineIndexabilityDisabled', $this->getIsSearchEngineIndexabilityDisabled()); + $writer->writeBooleanValue('isTimeSlotTimeZoneSetToBusinessTimeZone', $this->getIsTimeSlotTimeZoneSetToBusinessTimeZone()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('privacyPolicyWebUrl', $this->getPrivacyPolicyWebUrl()); + $writer->writeStringValue('termsAndConditionsWebUrl', $this->getTermsAndConditionsWebUrl()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the accessControl property value. The accessControl property + * @param BookingPageAccessControl|null $value Value to set for the accessControl property. + */ + public function setAccessControl(?BookingPageAccessControl $value): void { + $this->getBackingStore()->set('accessControl', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the bookingPageColorCode property value. Custom color for the booking page. The value should be in Hex format. For example, #123456. + * @param string|null $value Value to set for the bookingPageColorCode property. + */ + public function setBookingPageColorCode(?string $value): void { + $this->getBackingStore()->set('bookingPageColorCode', $value); + } + + /** + * Sets the businessTimeZone property value. The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * @param string|null $value Value to set for the businessTimeZone property. + */ + public function setBusinessTimeZone(?string $value): void { + $this->getBackingStore()->set('businessTimeZone', $value); + } + + /** + * Sets the customerConsentMessage property value. The personal data collection and usage consent message in the booking page. + * @param string|null $value Value to set for the customerConsentMessage property. + */ + public function setCustomerConsentMessage(?string $value): void { + $this->getBackingStore()->set('customerConsentMessage', $value); + } + + /** + * Sets the enforceOneTimePassword property value. Determines whether the one-time password is required to create an appointment. The default value is false. + * @param bool|null $value Value to set for the enforceOneTimePassword property. + */ + public function setEnforceOneTimePassword(?bool $value): void { + $this->getBackingStore()->set('enforceOneTimePassword', $value); + } + + /** + * Sets the isBusinessLogoDisplayEnabled property value. Indicates whether the business logo is displayed on the booking page. The default value is false. + * @param bool|null $value Value to set for the isBusinessLogoDisplayEnabled property. + */ + public function setIsBusinessLogoDisplayEnabled(?bool $value): void { + $this->getBackingStore()->set('isBusinessLogoDisplayEnabled', $value); + } + + /** + * Sets the isCustomerConsentEnabled property value. Enables personal data collection and the usage consent toggle on the booking page. The default value is false. + * @param bool|null $value Value to set for the isCustomerConsentEnabled property. + */ + public function setIsCustomerConsentEnabled(?bool $value): void { + $this->getBackingStore()->set('isCustomerConsentEnabled', $value); + } + + /** + * Sets the isSearchEngineIndexabilityDisabled property value. Indicates whether web crawlers index this page. The defaults value is false. + * @param bool|null $value Value to set for the isSearchEngineIndexabilityDisabled property. + */ + public function setIsSearchEngineIndexabilityDisabled(?bool $value): void { + $this->getBackingStore()->set('isSearchEngineIndexabilityDisabled', $value); + } + + /** + * Sets the isTimeSlotTimeZoneSetToBusinessTimeZone property value. Indicates whether the time zone of the time slot is set to the time zone of the business. The default value is false. + * @param bool|null $value Value to set for the isTimeSlotTimeZoneSetToBusinessTimeZone property. + */ + public function setIsTimeSlotTimeZoneSetToBusinessTimeZone(?bool $value): void { + $this->getBackingStore()->set('isTimeSlotTimeZoneSetToBusinessTimeZone', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the privacyPolicyWebUrl property value. URL of a webpage that provides the terms and conditions of the business. If a privacy policy isn't included, the following text appears on the booking page as default: 'The policies and practices of {bookingbusinessname} apply to the use of your data.' + * @param string|null $value Value to set for the privacyPolicyWebUrl property. + */ + public function setPrivacyPolicyWebUrl(?string $value): void { + $this->getBackingStore()->set('privacyPolicyWebUrl', $value); + } + + /** + * Sets the termsAndConditionsWebUrl property value. URL of a webpage that provides the terms and conditions of the business. + * @param string|null $value Value to set for the termsAndConditionsWebUrl property. + */ + public function setTermsAndConditionsWebUrl(?string $value): void { + $this->getBackingStore()->set('termsAndConditionsWebUrl', $value); + } + +} diff --git a/src/Generated/Models/BookingSchedulingPolicy.php b/src/Generated/Models/BookingSchedulingPolicy.php index d4d6844e480..b8ff041a917 100644 --- a/src/Generated/Models/BookingSchedulingPolicy.php +++ b/src/Generated/Models/BookingSchedulingPolicy.php @@ -10,6 +10,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; /** * This type represents the set of policies that dictate how bookings can be created in a Booking Calendar. @@ -52,7 +53,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the allowStaffSelection property value. True if to allow customers to choose a specific person for the booking. + * Gets the allowStaffSelection property value. True to allow customers to choose a specific person for the booking. * @return bool|null */ public function getAllowStaffSelection(): ?bool { @@ -71,6 +72,20 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the customAvailabilities property value. Custom availability of the service in a given time frame. + * @return array|null + */ + public function getCustomAvailabilities(): ?array { + $val = $this->getBackingStore()->get('customAvailabilities'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, BookingsAvailabilityWindow::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customAvailabilities'"); + } + /** * The deserialization information for the current model * @return array @@ -79,6 +94,9 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'allowStaffSelection' => fn(ParseNode $n) => $o->setAllowStaffSelection($n->getBooleanValue()), + 'customAvailabilities' => fn(ParseNode $n) => $o->setCustomAvailabilities($n->getCollectionOfObjectValues([BookingsAvailabilityWindow::class, 'createFromDiscriminatorValue'])), + 'generalAvailability' => fn(ParseNode $n) => $o->setGeneralAvailability($n->getObjectValue([BookingsAvailability::class, 'createFromDiscriminatorValue'])), + 'isMeetingInviteToCustomersEnabled' => fn(ParseNode $n) => $o->setIsMeetingInviteToCustomersEnabled($n->getBooleanValue()), 'maximumAdvance' => fn(ParseNode $n) => $o->setMaximumAdvance($n->getDateIntervalValue()), 'minimumLeadTime' => fn(ParseNode $n) => $o->setMinimumLeadTime($n->getDateIntervalValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -87,6 +105,30 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the generalAvailability property value. General availability of the service defined by the scheduling policy. + * @return BookingsAvailability|null + */ + public function getGeneralAvailability(): ?BookingsAvailability { + $val = $this->getBackingStore()->get('generalAvailability'); + if (is_null($val) || $val instanceof BookingsAvailability) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'generalAvailability'"); + } + + /** + * Gets the isMeetingInviteToCustomersEnabled property value. Indicates whether the meeting invite is sent to the customers. The default value is false. + * @return bool|null + */ + public function getIsMeetingInviteToCustomersEnabled(): ?bool { + $val = $this->getBackingStore()->get('isMeetingInviteToCustomersEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isMeetingInviteToCustomersEnabled'"); + } + /** * Gets the maximumAdvance property value. Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. * @return DateInterval|null @@ -153,6 +195,9 @@ public function getTimeSlotInterval(): ?DateInterval { */ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('allowStaffSelection', $this->getAllowStaffSelection()); + $writer->writeCollectionOfObjectValues('customAvailabilities', $this->getCustomAvailabilities()); + $writer->writeObjectValue('generalAvailability', $this->getGeneralAvailability()); + $writer->writeBooleanValue('isMeetingInviteToCustomersEnabled', $this->getIsMeetingInviteToCustomersEnabled()); $writer->writeDateIntervalValue('maximumAdvance', $this->getMaximumAdvance()); $writer->writeDateIntervalValue('minimumLeadTime', $this->getMinimumLeadTime()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -170,7 +215,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowStaffSelection property value. True if to allow customers to choose a specific person for the booking. + * Sets the allowStaffSelection property value. True to allow customers to choose a specific person for the booking. * @param bool|null $value Value to set for the allowStaffSelection property. */ public function setAllowStaffSelection(?bool $value): void { @@ -185,6 +230,30 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the customAvailabilities property value. Custom availability of the service in a given time frame. + * @param array|null $value Value to set for the customAvailabilities property. + */ + public function setCustomAvailabilities(?array $value): void { + $this->getBackingStore()->set('customAvailabilities', $value); + } + + /** + * Sets the generalAvailability property value. General availability of the service defined by the scheduling policy. + * @param BookingsAvailability|null $value Value to set for the generalAvailability property. + */ + public function setGeneralAvailability(?BookingsAvailability $value): void { + $this->getBackingStore()->set('generalAvailability', $value); + } + + /** + * Sets the isMeetingInviteToCustomersEnabled property value. Indicates whether the meeting invite is sent to the customers. The default value is false. + * @param bool|null $value Value to set for the isMeetingInviteToCustomersEnabled property. + */ + public function setIsMeetingInviteToCustomersEnabled(?bool $value): void { + $this->getBackingStore()->set('isMeetingInviteToCustomersEnabled', $value); + } + /** * Sets the maximumAdvance property value. Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. * @param DateInterval|null $value Value to set for the maximumAdvance property. diff --git a/src/Generated/Models/BookingService.php b/src/Generated/Models/BookingService.php index de4797516b9..b4223559ba1 100644 --- a/src/Generated/Models/BookingService.php +++ b/src/Generated/Models/BookingService.php @@ -3,6 +3,7 @@ namespace Microsoft\Graph\Generated\Models; use DateInterval; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -41,6 +42,18 @@ public function getAdditionalInformation(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalInformation'"); } + /** + * Gets the createdDateTime property value. The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + /** * Gets the customQuestions property value. Contains the set of custom questions associated with a particular service. * @return array|null @@ -149,6 +162,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'additionalInformation' => fn(ParseNode $n) => $o->setAdditionalInformation($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'customQuestions' => fn(ParseNode $n) => $o->setCustomQuestions($n->getCollectionOfObjectValues([BookingQuestionAssignment::class, 'createFromDiscriminatorValue'])), 'defaultDuration' => fn(ParseNode $n) => $o->setDefaultDuration($n->getDateIntervalValue()), 'defaultLocation' => fn(ParseNode $n) => $o->setDefaultLocation($n->getObjectValue([Location::class, 'createFromDiscriminatorValue'])), @@ -158,9 +172,11 @@ public function getFieldDeserializers(): array { 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'isAnonymousJoinEnabled' => fn(ParseNode $n) => $o->setIsAnonymousJoinEnabled($n->getBooleanValue()), + 'isCustomerAllowedToManageBooking' => fn(ParseNode $n) => $o->setIsCustomerAllowedToManageBooking($n->getBooleanValue()), 'isHiddenFromCustomers' => fn(ParseNode $n) => $o->setIsHiddenFromCustomers($n->getBooleanValue()), 'isLocationOnline' => fn(ParseNode $n) => $o->setIsLocationOnline($n->getBooleanValue()), 'languageTag' => fn(ParseNode $n) => $o->setLanguageTag($n->getStringValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'maximumAttendeesCount' => fn(ParseNode $n) => $o->setMaximumAttendeesCount($n->getIntegerValue()), 'notes' => fn(ParseNode $n) => $o->setNotes($n->getStringValue()), 'postBuffer' => fn(ParseNode $n) => $o->setPostBuffer($n->getDateIntervalValue()), @@ -180,7 +196,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isAnonymousJoinEnabled property value. True if the URL to join the appointment anonymously (anonymousJoinWebUrl) will be generated for the appointment booked for this service. + * Gets the isAnonymousJoinEnabled property value. Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false. * @return bool|null */ public function getIsAnonymousJoinEnabled(): ?bool { @@ -192,7 +208,19 @@ public function getIsAnonymousJoinEnabled(): ?bool { } /** - * Gets the isHiddenFromCustomers property value. True means this service is not available to customers for booking. + * Gets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false. + * @return bool|null + */ + public function getIsCustomerAllowedToManageBooking(): ?bool { + $val = $this->getBackingStore()->get('isCustomerAllowedToManageBooking'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isCustomerAllowedToManageBooking'"); + } + + /** + * Gets the isHiddenFromCustomers property value. True indicates that this service isn't available to customers for booking. * @return bool|null */ public function getIsHiddenFromCustomers(): ?bool { @@ -204,7 +232,7 @@ public function getIsHiddenFromCustomers(): ?bool { } /** - * Gets the isLocationOnline property value. True indicates that the appointments for the service will be held online. Default value is false. + * Gets the isLocationOnline property value. Indicates that the appointments for the service are held online. The default value is false. * @return bool|null */ public function getIsLocationOnline(): ?bool { @@ -227,6 +255,18 @@ public function getLanguageTag(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'languageTag'"); } + /** + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + /** * Gets the maximumAttendeesCount property value. The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. * @return int|null @@ -332,6 +372,7 @@ public function getWebUrl(): ?string { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('additionalInformation', $this->getAdditionalInformation()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeCollectionOfObjectValues('customQuestions', $this->getCustomQuestions()); $writer->writeDateIntervalValue('defaultDuration', $this->getDefaultDuration()); $writer->writeObjectValue('defaultLocation', $this->getDefaultLocation()); @@ -341,9 +382,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeBooleanValue('isAnonymousJoinEnabled', $this->getIsAnonymousJoinEnabled()); + $writer->writeBooleanValue('isCustomerAllowedToManageBooking', $this->getIsCustomerAllowedToManageBooking()); $writer->writeBooleanValue('isHiddenFromCustomers', $this->getIsHiddenFromCustomers()); $writer->writeBooleanValue('isLocationOnline', $this->getIsLocationOnline()); $writer->writeStringValue('languageTag', $this->getLanguageTag()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeIntegerValue('maximumAttendeesCount', $this->getMaximumAttendeesCount()); $writer->writeStringValue('notes', $this->getNotes()); $writer->writeDateIntervalValue('postBuffer', $this->getPostBuffer()); @@ -361,6 +404,14 @@ public function setAdditionalInformation(?string $value): void { $this->getBackingStore()->set('additionalInformation', $value); } + /** + * Sets the createdDateTime property value. The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + /** * Sets the customQuestions property value. Contains the set of custom questions associated with a particular service. * @param array|null $value Value to set for the customQuestions property. @@ -426,7 +477,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the isAnonymousJoinEnabled property value. True if the URL to join the appointment anonymously (anonymousJoinWebUrl) will be generated for the appointment booked for this service. + * Sets the isAnonymousJoinEnabled property value. Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false. * @param bool|null $value Value to set for the isAnonymousJoinEnabled property. */ public function setIsAnonymousJoinEnabled(?bool $value): void { @@ -434,7 +485,15 @@ public function setIsAnonymousJoinEnabled(?bool $value): void { } /** - * Sets the isHiddenFromCustomers property value. True means this service is not available to customers for booking. + * Sets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false. + * @param bool|null $value Value to set for the isCustomerAllowedToManageBooking property. + */ + public function setIsCustomerAllowedToManageBooking(?bool $value): void { + $this->getBackingStore()->set('isCustomerAllowedToManageBooking', $value); + } + + /** + * Sets the isHiddenFromCustomers property value. True indicates that this service isn't available to customers for booking. * @param bool|null $value Value to set for the isHiddenFromCustomers property. */ public function setIsHiddenFromCustomers(?bool $value): void { @@ -442,7 +501,7 @@ public function setIsHiddenFromCustomers(?bool $value): void { } /** - * Sets the isLocationOnline property value. True indicates that the appointments for the service will be held online. Default value is false. + * Sets the isLocationOnline property value. Indicates that the appointments for the service are held online. The default value is false. * @param bool|null $value Value to set for the isLocationOnline property. */ public function setIsLocationOnline(?bool $value): void { @@ -457,6 +516,14 @@ public function setLanguageTag(?string $value): void { $this->getBackingStore()->set('languageTag', $value); } + /** + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + /** * Sets the maximumAttendeesCount property value. The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. * @param int|null $value Value to set for the maximumAttendeesCount property. diff --git a/src/Generated/Models/BookingStaffMember.php b/src/Generated/Models/BookingStaffMember.php index f3b1c9871e7..1a7ed2e8c30 100644 --- a/src/Generated/Models/BookingStaffMember.php +++ b/src/Generated/Models/BookingStaffMember.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -41,6 +42,18 @@ public function getAvailabilityIsAffectedByPersonalCalendar(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'availabilityIsAffectedByPersonalCalendar'"); } + /** + * Gets the createdDateTime property value. The date, time, and time zone when the staff member was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + /** * Gets the displayName property value. The name of the staff member, as displayed to customers. Required. * @return string|null @@ -54,7 +67,7 @@ public function getDisplayName(): ?string { } /** - * Gets the emailAddress property value. The email address of the staff member. This can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. + * Gets the emailAddress property value. The email address of the staff member. This email address can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. * @return string|null */ public function getEmailAddress(): ?string { @@ -73,9 +86,11 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'availabilityIsAffectedByPersonalCalendar' => fn(ParseNode $n) => $o->setAvailabilityIsAffectedByPersonalCalendar($n->getBooleanValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'emailAddress' => fn(ParseNode $n) => $o->setEmailAddress($n->getStringValue()), 'isEmailNotificationEnabled' => fn(ParseNode $n) => $o->setIsEmailNotificationEnabled($n->getBooleanValue()), + 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'membershipStatus' => fn(ParseNode $n) => $o->setMembershipStatus($n->getEnumValue(BookingStaffMembershipStatus::class)), 'role' => fn(ParseNode $n) => $o->setRole($n->getEnumValue(BookingStaffRole::class)), 'timeZone' => fn(ParseNode $n) => $o->setTimeZone($n->getStringValue()), @@ -85,7 +100,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isEmailNotificationEnabled property value. True indicates that a staff member will be notified via email when a booking assigned to them is created or changed. + * Gets the isEmailNotificationEnabled property value. Indicates that a staff member is notified via email when a booking assigned to them is created or changed. The default value is true. * @return bool|null */ public function getIsEmailNotificationEnabled(): ?bool { @@ -96,6 +111,18 @@ public function getIsEmailNotificationEnabled(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isEmailNotificationEnabled'"); } + /** + * Gets the lastUpdatedDateTime property value. The date, time, and time zone when the staff member was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getLastUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdatedDateTime'"); + } + /** * Gets the membershipStatus property value. The membershipStatus property * @return BookingStaffMembershipStatus|null @@ -145,7 +172,7 @@ public function getUseBusinessHours(): ?bool { } /** - * Gets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * Gets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they're initialized to be the same as the businessHours property of the business. * @return array|null */ public function getWorkingHours(): ?array { @@ -165,9 +192,11 @@ public function getWorkingHours(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeBooleanValue('availabilityIsAffectedByPersonalCalendar', $this->getAvailabilityIsAffectedByPersonalCalendar()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('emailAddress', $this->getEmailAddress()); $writer->writeBooleanValue('isEmailNotificationEnabled', $this->getIsEmailNotificationEnabled()); + $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeEnumValue('membershipStatus', $this->getMembershipStatus()); $writer->writeEnumValue('role', $this->getRole()); $writer->writeStringValue('timeZone', $this->getTimeZone()); @@ -183,6 +212,14 @@ public function setAvailabilityIsAffectedByPersonalCalendar(?bool $value): void $this->getBackingStore()->set('availabilityIsAffectedByPersonalCalendar', $value); } + /** + * Sets the createdDateTime property value. The date, time, and time zone when the staff member was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + /** * Sets the displayName property value. The name of the staff member, as displayed to customers. Required. * @param string|null $value Value to set for the displayName property. @@ -192,7 +229,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the emailAddress property value. The email address of the staff member. This can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. + * Sets the emailAddress property value. The email address of the staff member. This email address can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. * @param string|null $value Value to set for the emailAddress property. */ public function setEmailAddress(?string $value): void { @@ -200,13 +237,21 @@ public function setEmailAddress(?string $value): void { } /** - * Sets the isEmailNotificationEnabled property value. True indicates that a staff member will be notified via email when a booking assigned to them is created or changed. + * Sets the isEmailNotificationEnabled property value. Indicates that a staff member is notified via email when a booking assigned to them is created or changed. The default value is true. * @param bool|null $value Value to set for the isEmailNotificationEnabled property. */ public function setIsEmailNotificationEnabled(?bool $value): void { $this->getBackingStore()->set('isEmailNotificationEnabled', $value); } + /** + * Sets the lastUpdatedDateTime property value. The date, time, and time zone when the staff member was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. + */ + public function setLastUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdatedDateTime', $value); + } + /** * Sets the membershipStatus property value. The membershipStatus property * @param BookingStaffMembershipStatus|null $value Value to set for the membershipStatus property. @@ -240,7 +285,7 @@ public function setUseBusinessHours(?bool $value): void { } /** - * Sets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * Sets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they're initialized to be the same as the businessHours property of the business. * @param array|null $value Value to set for the workingHours property. */ public function setWorkingHours(?array $value): void { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.php b/src/Generated/Models/BookingsAvailability.php similarity index 52% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.php rename to src/Generated/Models/BookingsAvailability.php index b55aab18270..2adca656247 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.php +++ b/src/Generated/Models/BookingsAvailability.php @@ -1,8 +1,7 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -30,10 +29,17 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyPostRequestBody + * @return BookingsAvailability */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyPostRequestBody { - return new ApplyPostRequestBody(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): BookingsAvailability { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.bookingsAvailabilityWindow': return new BookingsAvailabilityWindow(); + } + } + return new BookingsAvailability(); } /** @@ -50,62 +56,62 @@ public function getAdditionalData(): ?array { } /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore + * Gets the availabilityType property value. The availabilityType property + * @return BookingsServiceAvailabilityType|null */ - public function getBackingStore(): BackingStore { - return $this->backingStore; + public function getAvailabilityType(): ?BookingsServiceAvailabilityType { + $val = $this->getBackingStore()->get('availabilityType'); + if (is_null($val) || $val instanceof BookingsServiceAvailabilityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'availabilityType'"); } /** - * The deserialization information for the current model - * @return array + * Gets the BackingStore property value. Stores model information. + * @return BackingStore */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'fields' => fn(ParseNode $n) => $o->setFields($n->getCollectionOfObjectValues([WorkbookSortField::class, 'createFromDiscriminatorValue'])), - 'matchCase' => fn(ParseNode $n) => $o->setMatchCase($n->getBooleanValue()), - 'method' => fn(ParseNode $n) => $o->setMethod($n->getStringValue()), - ]; + public function getBackingStore(): BackingStore { + return $this->backingStore; } /** - * Gets the fields property value. The fields property - * @return array|null + * Gets the businessHours property value. The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours. + * @return array|null */ - public function getFields(): ?array { - $val = $this->getBackingStore()->get('fields'); + public function getBusinessHours(): ?array { + $val = $this->getBackingStore()->get('businessHours'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, WorkbookSortField::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, BookingWorkHours::class); + /** @var array|null $val */ return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fields'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'businessHours'"); } /** - * Gets the matchCase property value. The matchCase property - * @return bool|null + * The deserialization information for the current model + * @return array */ - public function getMatchCase(): ?bool { - $val = $this->getBackingStore()->get('matchCase'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'matchCase'"); + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'availabilityType' => fn(ParseNode $n) => $o->setAvailabilityType($n->getEnumValue(BookingsServiceAvailabilityType::class)), + 'businessHours' => fn(ParseNode $n) => $o->setBusinessHours($n->getCollectionOfObjectValues([BookingWorkHours::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; } /** - * Gets the method property value. The method property + * Gets the @odata.type property value. The OdataType property * @return string|null */ - public function getMethod(): ?string { - $val = $this->getBackingStore()->get('method'); + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); if (is_null($val) || is_string($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'method'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } /** @@ -113,9 +119,9 @@ public function getMethod(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeCollectionOfObjectValues('fields', $this->getFields()); - $writer->writeBooleanValue('matchCase', $this->getMatchCase()); - $writer->writeStringValue('method', $this->getMethod()); + $writer->writeEnumValue('availabilityType', $this->getAvailabilityType()); + $writer->writeCollectionOfObjectValues('businessHours', $this->getBusinessHours()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -128,35 +134,35 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. + * Sets the availabilityType property value. The availabilityType property + * @param BookingsServiceAvailabilityType|null $value Value to set for the availabilityType property. */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; + public function setAvailabilityType(?BookingsServiceAvailabilityType $value): void { + $this->getBackingStore()->set('availabilityType', $value); } /** - * Sets the fields property value. The fields property - * @param array|null $value Value to set for the fields property. + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. */ - public function setFields(?array $value): void { - $this->getBackingStore()->set('fields', $value); + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; } /** - * Sets the matchCase property value. The matchCase property - * @param bool|null $value Value to set for the matchCase property. + * Sets the businessHours property value. The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours. + * @param array|null $value Value to set for the businessHours property. */ - public function setMatchCase(?bool $value): void { - $this->getBackingStore()->set('matchCase', $value); + public function setBusinessHours(?array $value): void { + $this->getBackingStore()->set('businessHours', $value); } /** - * Sets the method property value. The method property - * @param string|null $value Value to set for the method property. + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. */ - public function setMethod(?string $value): void { - $this->getBackingStore()->set('method', $value); + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); } } diff --git a/src/Generated/Models/BookingsAvailabilityWindow.php b/src/Generated/Models/BookingsAvailabilityWindow.php new file mode 100644 index 00000000000..a770670c95b --- /dev/null +++ b/src/Generated/Models/BookingsAvailabilityWindow.php @@ -0,0 +1,91 @@ +setOdataType('#microsoft.graph.bookingsAvailabilityWindow'); + } + + /** + * 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 BookingsAvailabilityWindow + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BookingsAvailabilityWindow { + return new BookingsAvailabilityWindow(); + } + + /** + * Gets the endDate property value. End date of the availability window. + * @return Date|null + */ + public function getEndDate(): ?Date { + $val = $this->getBackingStore()->get('endDate'); + if (is_null($val) || $val instanceof Date) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getDateValue()), + 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getDateValue()), + ]); + } + + /** + * Gets the startDate property value. Start date of the availability window. + * @return Date|null + */ + public function getStartDate(): ?Date { + $val = $this->getBackingStore()->get('startDate'); + if (is_null($val) || $val instanceof Date) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); + } + + /** + * 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->writeDateValue('endDate', $this->getEndDate()); + $writer->writeDateValue('startDate', $this->getStartDate()); + } + + /** + * Sets the endDate property value. End date of the availability window. + * @param Date|null $value Value to set for the endDate property. + */ + public function setEndDate(?Date $value): void { + $this->getBackingStore()->set('endDate', $value); + } + + /** + * Sets the startDate property value. Start date of the availability window. + * @param Date|null $value Value to set for the startDate property. + */ + public function setStartDate(?Date $value): void { + $this->getBackingStore()->set('startDate', $value); + } + +} diff --git a/src/Generated/Models/BookingsServiceAvailabilityType.php b/src/Generated/Models/BookingsServiceAvailabilityType.php new file mode 100644 index 00000000000..53ac648989e --- /dev/null +++ b/src/Generated/Models/BookingsServiceAvailabilityType.php @@ -0,0 +1,12 @@ + fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), 'filesFolder' => fn(ParseNode $n) => $o->setFilesFolder($n->getObjectValue([DriveItem::class, 'createFromDiscriminatorValue'])), + 'isArchived' => fn(ParseNode $n) => $o->setIsArchived($n->getBooleanValue()), 'isFavoriteByDefault' => fn(ParseNode $n) => $o->setIsFavoriteByDefault($n->getBooleanValue()), 'members' => fn(ParseNode $n) => $o->setMembers($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), 'membershipType' => fn(ParseNode $n) => $o->setMembershipType($n->getEnumValue(ChannelMembershipType::class)), @@ -110,6 +111,18 @@ public function getFilesFolder(): ?DriveItem { throw new \UnexpectedValueException("Invalid type found in backing store for 'filesFolder'"); } + /** + * Gets the isArchived property value. Indicates whether the channel is archived. Read-only. + * @return bool|null + */ + public function getIsArchived(): ?bool { + $val = $this->getBackingStore()->get('isArchived'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isArchived'"); + } + /** * Gets the isFavoriteByDefault property value. Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false. * @return bool|null @@ -237,6 +250,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('email', $this->getEmail()); $writer->writeObjectValue('filesFolder', $this->getFilesFolder()); + $writer->writeBooleanValue('isArchived', $this->getIsArchived()); $writer->writeBooleanValue('isFavoriteByDefault', $this->getIsFavoriteByDefault()); $writer->writeCollectionOfObjectValues('members', $this->getMembers()); $writer->writeEnumValue('membershipType', $this->getMembershipType()); @@ -288,6 +302,14 @@ public function setFilesFolder(?DriveItem $value): void { $this->getBackingStore()->set('filesFolder', $value); } + /** + * Sets the isArchived property value. Indicates whether the channel is archived. Read-only. + * @param bool|null $value Value to set for the isArchived property. + */ + public function setIsArchived(?bool $value): void { + $this->getBackingStore()->set('isArchived', $value); + } + /** * Sets the isFavoriteByDefault property value. Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false. * @param bool|null $value Value to set for the isFavoriteByDefault property. diff --git a/src/Generated/Models/ClickSource.php b/src/Generated/Models/ClickSource.php new file mode 100644 index 00000000000..8f5ce3c33bb --- /dev/null +++ b/src/Generated/Models/ClickSource.php @@ -0,0 +1,12 @@ +|null */ public function getServiceStatus(): ?array { @@ -147,7 +147,7 @@ public function getServiceStatus(): ?array { } /** - * Gets the skuId property value. The skuId property + * Gets the skuId property value. The object ID of the SKU associated with this subscription. * @return string|null */ public function getSkuId(): ?string { @@ -159,7 +159,7 @@ public function getSkuId(): ?string { } /** - * Gets the skuPartNumber property value. The skuPartNumber property + * Gets the skuPartNumber property value. The SKU associated with this subscription. * @return string|null */ public function getSkuPartNumber(): ?string { @@ -171,7 +171,7 @@ public function getSkuPartNumber(): ?string { } /** - * Gets the status property value. The status property + * Gets the status property value. The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. * @return string|null */ public function getStatus(): ?string { @@ -183,7 +183,7 @@ public function getStatus(): ?string { } /** - * Gets the totalLicenses property value. The totalLicenses property + * Gets the totalLicenses property value. The number of licenses included in this subscription. * @return int|null */ public function getTotalLicenses(): ?int { @@ -215,7 +215,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the commerceSubscriptionId property value. The commerceSubscriptionId property + * Sets the commerceSubscriptionId property value. The ID of this subscription in the commerce system. Alternate key. * @param string|null $value Value to set for the commerceSubscriptionId property. */ public function setCommerceSubscriptionId(?string $value): void { @@ -223,7 +223,7 @@ public function setCommerceSubscriptionId(?string $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when this subscription was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -231,7 +231,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the isTrial property value. The isTrial property + * Sets the isTrial property value. Whether the subscription is a free trial or purchased. * @param bool|null $value Value to set for the isTrial property. */ public function setIsTrial(?bool $value): void { @@ -239,7 +239,7 @@ public function setIsTrial(?bool $value): void { } /** - * Sets the nextLifecycleDateTime property value. The nextLifecycleDateTime property + * Sets the nextLifecycleDateTime property value. The date and time when the subscription will move to the next state (as defined by the status property) if not renewed by the tenant. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the nextLifecycleDateTime property. */ public function setNextLifecycleDateTime(?DateTime $value): void { @@ -247,7 +247,7 @@ public function setNextLifecycleDateTime(?DateTime $value): void { } /** - * Sets the ownerId property value. The ownerId property + * Sets the ownerId property value. The object ID of the account admin. * @param string|null $value Value to set for the ownerId property. */ public function setOwnerId(?string $value): void { @@ -255,7 +255,7 @@ public function setOwnerId(?string $value): void { } /** - * Sets the ownerTenantId property value. The ownerTenantId property + * Sets the ownerTenantId property value. The unique identifier for the Microsoft partner tenant that created the subscription on a customer tenant. * @param string|null $value Value to set for the ownerTenantId property. */ public function setOwnerTenantId(?string $value): void { @@ -263,7 +263,7 @@ public function setOwnerTenantId(?string $value): void { } /** - * Sets the ownerType property value. The ownerType property + * Sets the ownerType property value. Indicates the entity that ownerId belongs to, for example, 'User'. * @param string|null $value Value to set for the ownerType property. */ public function setOwnerType(?string $value): void { @@ -271,7 +271,7 @@ public function setOwnerType(?string $value): void { } /** - * Sets the serviceStatus property value. The serviceStatus property + * Sets the serviceStatus property value. The provisioning status of each service included in this subscription. * @param array|null $value Value to set for the serviceStatus property. */ public function setServiceStatus(?array $value): void { @@ -279,7 +279,7 @@ public function setServiceStatus(?array $value): void { } /** - * Sets the skuId property value. The skuId property + * Sets the skuId property value. The object ID of the SKU associated with this subscription. * @param string|null $value Value to set for the skuId property. */ public function setSkuId(?string $value): void { @@ -287,7 +287,7 @@ public function setSkuId(?string $value): void { } /** - * Sets the skuPartNumber property value. The skuPartNumber property + * Sets the skuPartNumber property value. The SKU associated with this subscription. * @param string|null $value Value to set for the skuPartNumber property. */ public function setSkuPartNumber(?string $value): void { @@ -295,7 +295,7 @@ public function setSkuPartNumber(?string $value): void { } /** - * Sets the status property value. The status property + * Sets the status property value. The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. * @param string|null $value Value to set for the status property. */ public function setStatus(?string $value): void { @@ -303,7 +303,7 @@ public function setStatus(?string $value): void { } /** - * Sets the totalLicenses property value. The totalLicenses property + * Sets the totalLicenses property value. The number of licenses included in this subscription. * @param int|null $value Value to set for the totalLicenses property. */ public function setTotalLicenses(?int $value): void { diff --git a/src/Generated/Models/ConditionalAccessConditionSet.php b/src/Generated/Models/ConditionalAccessConditionSet.php index 1fc54d68d3e..3c3252f6ebd 100644 --- a/src/Generated/Models/ConditionalAccessConditionSet.php +++ b/src/Generated/Models/ConditionalAccessConditionSet.php @@ -129,7 +129,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the insiderRiskLevels property value. The insiderRiskLevels property + * Gets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue. * @return ConditionalAccessInsiderRiskLevels|null */ public function getInsiderRiskLevels(): ?ConditionalAccessInsiderRiskLevels { @@ -299,7 +299,7 @@ public function setDevices(?ConditionalAccessDevices $value): void { } /** - * Sets the insiderRiskLevels property value. The insiderRiskLevels property + * Sets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue. * @param ConditionalAccessInsiderRiskLevels|null $value Value to set for the insiderRiskLevels property. */ public function setInsiderRiskLevels(?ConditionalAccessInsiderRiskLevels $value): void { diff --git a/src/Generated/Models/CrossTenantAccessPolicyB2BSetting.php b/src/Generated/Models/CrossTenantAccessPolicyB2BSetting.php index fca550048f1..cb6d4351489 100644 --- a/src/Generated/Models/CrossTenantAccessPolicyB2BSetting.php +++ b/src/Generated/Models/CrossTenantAccessPolicyB2BSetting.php @@ -31,6 +31,13 @@ public function __construct() { * @return CrossTenantAccessPolicyB2BSetting */ public static function createFromDiscriminatorValue(ParseNode $parseNode): CrossTenantAccessPolicyB2BSetting { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.crossTenantAccessPolicyTenantRestrictions': return new CrossTenantAccessPolicyTenantRestrictions(); + } + } return new CrossTenantAccessPolicyB2BSetting(); } diff --git a/src/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.php b/src/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.php index 65b2f38d1b9..26474749486 100644 --- a/src/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.php +++ b/src/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.php @@ -99,6 +99,7 @@ public function getFieldDeserializers(): array { 'inboundTrust' => fn(ParseNode $n) => $o->setInboundTrust($n->getObjectValue([CrossTenantAccessPolicyInboundTrust::class, 'createFromDiscriminatorValue'])), 'invitationRedemptionIdentityProviderConfiguration' => fn(ParseNode $n) => $o->setInvitationRedemptionIdentityProviderConfiguration($n->getObjectValue([DefaultInvitationRedemptionIdentityProviderConfiguration::class, 'createFromDiscriminatorValue'])), 'isServiceDefault' => fn(ParseNode $n) => $o->setIsServiceDefault($n->getBooleanValue()), + 'tenantRestrictions' => fn(ParseNode $n) => $o->setTenantRestrictions($n->getObjectValue([CrossTenantAccessPolicyTenantRestrictions::class, 'createFromDiscriminatorValue'])), ]); } @@ -138,6 +139,18 @@ public function getIsServiceDefault(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isServiceDefault'"); } + /** + * Gets the tenantRestrictions property value. Defines the default tenant restrictions configuration for users in your organization who access an external organization on your network or devices. + * @return CrossTenantAccessPolicyTenantRestrictions|null + */ + public function getTenantRestrictions(): ?CrossTenantAccessPolicyTenantRestrictions { + $val = $this->getBackingStore()->get('tenantRestrictions'); + if (is_null($val) || $val instanceof CrossTenantAccessPolicyTenantRestrictions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantRestrictions'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -152,6 +165,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('inboundTrust', $this->getInboundTrust()); $writer->writeObjectValue('invitationRedemptionIdentityProviderConfiguration', $this->getInvitationRedemptionIdentityProviderConfiguration()); $writer->writeBooleanValue('isServiceDefault', $this->getIsServiceDefault()); + $writer->writeObjectValue('tenantRestrictions', $this->getTenantRestrictions()); } /** @@ -218,4 +232,12 @@ public function setIsServiceDefault(?bool $value): void { $this->getBackingStore()->set('isServiceDefault', $value); } + /** + * Sets the tenantRestrictions property value. Defines the default tenant restrictions configuration for users in your organization who access an external organization on your network or devices. + * @param CrossTenantAccessPolicyTenantRestrictions|null $value Value to set for the tenantRestrictions property. + */ + public function setTenantRestrictions(?CrossTenantAccessPolicyTenantRestrictions $value): void { + $this->getBackingStore()->set('tenantRestrictions', $value); + } + } diff --git a/src/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.php b/src/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.php index 0fb924bb553..a42c7d93923 100644 --- a/src/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.php @@ -133,6 +133,7 @@ public function getFieldDeserializers(): array { 'isServiceProvider' => fn(ParseNode $n) => $o->setIsServiceProvider($n->getBooleanValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), + 'tenantRestrictions' => fn(ParseNode $n) => $o->setTenantRestrictions($n->getObjectValue([CrossTenantAccessPolicyTenantRestrictions::class, 'createFromDiscriminatorValue'])), ]; } @@ -208,6 +209,18 @@ public function getTenantId(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantId'"); } + /** + * Gets the tenantRestrictions property value. Defines the partner-specific tenant restrictions configuration for users in your organization who access a partner organization using partner supplied identities on your network or devices. + * @return CrossTenantAccessPolicyTenantRestrictions|null + */ + public function getTenantRestrictions(): ?CrossTenantAccessPolicyTenantRestrictions { + $val = $this->getBackingStore()->get('tenantRestrictions'); + if (is_null($val) || $val instanceof CrossTenantAccessPolicyTenantRestrictions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantRestrictions'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -224,6 +237,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('isServiceProvider', $this->getIsServiceProvider()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeStringValue('tenantId', $this->getTenantId()); + $writer->writeObjectValue('tenantRestrictions', $this->getTenantRestrictions()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -331,4 +345,12 @@ public function setTenantId(?string $value): void { $this->getBackingStore()->set('tenantId', $value); } + /** + * Sets the tenantRestrictions property value. Defines the partner-specific tenant restrictions configuration for users in your organization who access a partner organization using partner supplied identities on your network or devices. + * @param CrossTenantAccessPolicyTenantRestrictions|null $value Value to set for the tenantRestrictions property. + */ + public function setTenantRestrictions(?CrossTenantAccessPolicyTenantRestrictions $value): void { + $this->getBackingStore()->set('tenantRestrictions', $value); + } + } diff --git a/src/Generated/Models/CrossTenantAccessPolicyTarget.php b/src/Generated/Models/CrossTenantAccessPolicyTarget.php index 0c91537f888..6950f7cb41b 100644 --- a/src/Generated/Models/CrossTenantAccessPolicyTarget.php +++ b/src/Generated/Models/CrossTenantAccessPolicyTarget.php @@ -81,7 +81,7 @@ public function getOdataType(): ?string { } /** - * Gets the target property value. The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + * Gets the target property value. Defines the target for cross-tenant access policy settings and can have one of the following values: The unique identifier of the user, group, or application AllUsers AllApplications - Refers to any Microsoft cloud application. Office365 - Includes the applications mentioned as part of the Office 365 suite. * @return string|null */ public function getTarget(): ?string { @@ -140,7 +140,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the target property value. The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + * Sets the target property value. Defines the target for cross-tenant access policy settings and can have one of the following values: The unique identifier of the user, group, or application AllUsers AllApplications - Refers to any Microsoft cloud application. Office365 - Includes the applications mentioned as part of the Office 365 suite. * @param string|null $value Value to set for the target property. */ public function setTarget(?string $value): void { diff --git a/src/Generated/Models/CrossTenantAccessPolicyTenantRestrictions.php b/src/Generated/Models/CrossTenantAccessPolicyTenantRestrictions.php new file mode 100644 index 00000000000..3a60d19951a --- /dev/null +++ b/src/Generated/Models/CrossTenantAccessPolicyTenantRestrictions.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.crossTenantAccessPolicyTenantRestrictions'); + } + + /** + * 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 CrossTenantAccessPolicyTenantRestrictions + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CrossTenantAccessPolicyTenantRestrictions { + return new CrossTenantAccessPolicyTenantRestrictions(); + } + + /** + * Gets the devices property value. Defines the rule for filtering devices and whether devices that satisfy the rule should be allowed or blocked. This property isn't supported on the server side yet. + * @return DevicesFilter|null + */ + public function getDevices(): ?DevicesFilter { + $val = $this->getBackingStore()->get('devices'); + if (is_null($val) || $val instanceof DevicesFilter) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'devices'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'devices' => fn(ParseNode $n) => $o->setDevices($n->getObjectValue([DevicesFilter::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('devices', $this->getDevices()); + } + + /** + * Sets the devices property value. Defines the rule for filtering devices and whether devices that satisfy the rule should be allowed or blocked. This property isn't supported on the server side yet. + * @param DevicesFilter|null $value Value to set for the devices property. + */ + public function setDevices(?DevicesFilter $value): void { + $this->getBackingStore()->set('devices', $value); + } + +} diff --git a/src/Generated/Models/CustomAppManagementConfiguration.php b/src/Generated/Models/CustomAppManagementConfiguration.php new file mode 100644 index 00000000000..b4538e65faf --- /dev/null +++ b/src/Generated/Models/CustomAppManagementConfiguration.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.customAppManagementConfiguration'); + } + + /** + * 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 CustomAppManagementConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CustomAppManagementConfiguration { + return new CustomAppManagementConfiguration(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/Device.php b/src/Generated/Models/Device.php index 1fa92e16c2a..a1d115f7a08 100644 --- a/src/Generated/Models/Device.php +++ b/src/Generated/Models/Device.php @@ -90,7 +90,7 @@ public function getDeviceCategory(): ?string { } /** - * Gets the deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object. Supports $filter (eq, ne, not, startsWith). + * Gets the deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. This alternate key can be used to reference the device object. Supports $filter (eq, ne, not, startsWith). * @return string|null */ public function getDeviceId(): ?string { @@ -114,7 +114,7 @@ public function getDeviceMetadata(): ?string { } /** - * Gets the deviceOwnership property value. Ownership of the device. This property is set by Intune. Possible values are: unknown, company, personal. + * Gets the deviceOwnership property value. Ownership of the device. Intune sets this property. Possible values are: unknown, company, personal. * @return string|null */ public function getDeviceOwnership(): ?string { @@ -162,7 +162,7 @@ public function getEnrollmentProfileName(): ?string { } /** - * Gets the enrollmentType property value. Enrollment type of the device. This property is set by Intune. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + * Gets the enrollmentType property value. Enrollment type of the device. Intune sets this property. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. * @return string|null */ public function getEnrollmentType(): ?string { @@ -498,7 +498,7 @@ public function getTransitiveMemberOf(): ?array { } /** - * Gets the trustType property value. Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more details, see Introduction to device management in Microsoft Entra ID. + * Gets the trustType property value. Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud-only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more information, see Introduction to device management in Microsoft Entra ID. * @return string|null */ public function getTrustType(): ?string { @@ -592,7 +592,7 @@ public function setDeviceCategory(?string $value): void { } /** - * Sets the deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object. Supports $filter (eq, ne, not, startsWith). + * Sets the deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. This alternate key can be used to reference the device object. Supports $filter (eq, ne, not, startsWith). * @param string|null $value Value to set for the deviceId property. */ public function setDeviceId(?string $value): void { @@ -608,7 +608,7 @@ public function setDeviceMetadata(?string $value): void { } /** - * Sets the deviceOwnership property value. Ownership of the device. This property is set by Intune. Possible values are: unknown, company, personal. + * Sets the deviceOwnership property value. Ownership of the device. Intune sets this property. Possible values are: unknown, company, personal. * @param string|null $value Value to set for the deviceOwnership property. */ public function setDeviceOwnership(?string $value): void { @@ -640,7 +640,7 @@ public function setEnrollmentProfileName(?string $value): void { } /** - * Sets the enrollmentType property value. Enrollment type of the device. This property is set by Intune. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + * Sets the enrollmentType property value. Enrollment type of the device. Intune sets this property. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. * @param string|null $value Value to set for the enrollmentType property. */ public function setEnrollmentType(?string $value): void { @@ -816,7 +816,7 @@ public function setTransitiveMemberOf(?array $value): void { } /** - * Sets the trustType property value. Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more details, see Introduction to device management in Microsoft Entra ID. + * Sets the trustType property value. Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud-only joined devices), ServerAd (on-premises domain joined devices joined to Microsoft Entra ID). For more information, see Introduction to device management in Microsoft Entra ID. * @param string|null $value Value to set for the trustType property. */ public function setTrustType(?string $value): void { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php b/src/Generated/Models/DevicesFilter.php similarity index 56% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php rename to src/Generated/Models/DevicesFilter.php index 7fddaf60fea..61e7ae47fd1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php +++ b/src/Generated/Models/DevicesFilter.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddFormulaLocalPostRequestBody + * @return DevicesFilter */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddFormulaLocalPostRequestBody { - return new AddFormulaLocalPostRequestBody(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): DevicesFilter { + return new DevicesFilter(); } /** @@ -55,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the comment property value. The comment property - * @return string|null - */ - public function getComment(): ?string { - $val = $this->getBackingStore()->get('comment'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'comment'"); - } - /** * The deserialization information for the current model * @return array @@ -74,34 +62,46 @@ public function getComment(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ - 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), - 'formula' => fn(ParseNode $n) => $o->setFormula($n->getStringValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'mode' => fn(ParseNode $n) => $o->setMode($n->getEnumValue(CrossTenantAccessPolicyTargetConfigurationAccessType::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'rule' => fn(ParseNode $n) => $o->setRule($n->getStringValue()), ]; } /** - * Gets the formula property value. The formula property + * Gets the mode property value. Determines whether devices that satisfy the rule should be allowed or blocked. The possible values are: allowed, blocked, unknownFutureValue. + * @return CrossTenantAccessPolicyTargetConfigurationAccessType|null + */ + public function getMode(): ?CrossTenantAccessPolicyTargetConfigurationAccessType { + $val = $this->getBackingStore()->get('mode'); + if (is_null($val) || $val instanceof CrossTenantAccessPolicyTargetConfigurationAccessType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'mode'"); + } + + /** + * Gets the @odata.type property value. The OdataType property * @return string|null */ - public function getFormula(): ?string { - $val = $this->getBackingStore()->get('formula'); + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); if (is_null($val) || is_string($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formula'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } /** - * Gets the name property value. The name property + * Gets the rule property value. Defines the rule to filter the devices. For example, device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation'. * @return string|null */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); + public function getRule(): ?string { + $val = $this->getBackingStore()->get('rule'); if (is_null($val) || is_string($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'rule'"); } /** @@ -109,9 +109,9 @@ public function getName(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('comment', $this->getComment()); - $writer->writeStringValue('formula', $this->getFormula()); - $writer->writeStringValue('name', $this->getName()); + $writer->writeEnumValue('mode', $this->getMode()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('rule', $this->getRule()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,27 +132,27 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the comment property value. The comment property - * @param string|null $value Value to set for the comment property. + * Sets the mode property value. Determines whether devices that satisfy the rule should be allowed or blocked. The possible values are: allowed, blocked, unknownFutureValue. + * @param CrossTenantAccessPolicyTargetConfigurationAccessType|null $value Value to set for the mode property. */ - public function setComment(?string $value): void { - $this->getBackingStore()->set('comment', $value); + public function setMode(?CrossTenantAccessPolicyTargetConfigurationAccessType $value): void { + $this->getBackingStore()->set('mode', $value); } /** - * Sets the formula property value. The formula property - * @param string|null $value Value to set for the formula property. + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. */ - public function setFormula(?string $value): void { - $this->getBackingStore()->set('formula', $value); + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); } /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. + * Sets the rule property value. Defines the rule to filter the devices. For example, device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation'. + * @param string|null $value Value to set for the rule property. */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); + public function setRule(?string $value): void { + $this->getBackingStore()->set('rule', $value); } } diff --git a/src/Generated/Models/Directory.php b/src/Generated/Models/Directory.php index 94190a1d60e..fc245b73f49 100644 --- a/src/Generated/Models/Directory.php +++ b/src/Generated/Models/Directory.php @@ -142,7 +142,7 @@ public function getOnPremisesSynchronization(): ?array { } /** - * Gets the subscriptions property value. The subscriptions property + * Gets the subscriptions property value. List of commercial subscriptions that an organization acquired. * @return array|null */ public function getSubscriptions(): ?array { @@ -228,7 +228,7 @@ public function setOnPremisesSynchronization(?array $value): void { } /** - * Sets the subscriptions property value. The subscriptions property + * Sets the subscriptions property value. List of commercial subscriptions that an organization acquired. * @param array|null $value Value to set for the subscriptions property. */ public function setSubscriptions(?array $value): void { diff --git a/src/Generated/Models/EducationRubric.php b/src/Generated/Models/EducationRubric.php index e6691000080..aa32422b3ca 100644 --- a/src/Generated/Models/EducationRubric.php +++ b/src/Generated/Models/EducationRubric.php @@ -39,7 +39,7 @@ public function getCreatedBy(): ?IdentitySet { } /** - * Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Gets the createdDateTime property value. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -94,7 +94,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the grading property value. The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * Gets the grading property value. The grading type of this rubric. You can use null for a no-points rubric or educationAssignmentPointsGradeType for a points rubric. * @return EducationAssignmentGradeType|null */ public function getGrading(): ?EducationAssignmentGradeType { @@ -118,7 +118,7 @@ public function getLastModifiedBy(): ?IdentitySet { } /** - * Gets the lastModifiedDateTime property value. Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Gets the lastModifiedDateTime property value. Moment in time when the resource was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getLastModifiedDateTime(): ?DateTime { @@ -179,7 +179,7 @@ public function setCreatedBy(?IdentitySet $value): void { } /** - * Sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Sets the createdDateTime property value. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -203,7 +203,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the grading property value. The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * Sets the grading property value. The grading type of this rubric. You can use null for a no-points rubric or educationAssignmentPointsGradeType for a points rubric. * @param EducationAssignmentGradeType|null $value Value to set for the grading property. */ public function setGrading(?EducationAssignmentGradeType $value): void { @@ -219,7 +219,7 @@ public function setLastModifiedBy(?IdentitySet $value): void { } /** - * Sets the lastModifiedDateTime property value. Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Sets the lastModifiedDateTime property value. Moment in time when the resource was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the lastModifiedDateTime property. */ public function setLastModifiedDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 4d1cfb58922..a6417a0a9bf 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -491,6 +491,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.importedWindowsAutopilotDeviceIdentityUpload': return new ImportedWindowsAutopilotDeviceIdentityUpload(); case '#microsoft.graph.inferenceClassification': return new InferenceClassification(); case '#microsoft.graph.inferenceClassificationOverride': return new InferenceClassificationOverride(); + case '#microsoft.graph.insightsSettings': return new InsightsSettings(); case '#microsoft.graph.internalDomainFederation': return new InternalDomainFederation(); case '#microsoft.graph.internetExplorerMode': return new InternetExplorerMode(); case '#microsoft.graph.invitation': return new Invitation(); @@ -517,6 +518,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.itemActivityStat': return new ItemActivityStat(); case '#microsoft.graph.itemAnalytics': return new ItemAnalytics(); case '#microsoft.graph.itemAttachment': return new ItemAttachment(); + case '#microsoft.graph.itemInsights': return new ItemInsights(); case '#microsoft.graph.itemRetentionLabel': return new ItemRetentionLabel(); case '#microsoft.graph.landingPage': return new LandingPage(); case '#microsoft.graph.landingPageDetail': return new LandingPageDetail(); @@ -823,6 +825,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.serviceHealthIssue': return new ServiceHealthIssue(); case '#microsoft.graph.servicePrincipal': return new ServicePrincipal(); case '#microsoft.graph.servicePrincipalRiskDetection': return new ServicePrincipalRiskDetection(); + case '#microsoft.graph.serviceStorageQuotaBreakdown': return new ServiceStorageQuotaBreakdown(); case '#microsoft.graph.serviceUpdateMessage': return new ServiceUpdateMessage(); case '#microsoft.graph.settingStateDeviceSummary': return new SettingStateDeviceSummary(); case '#microsoft.graph.sharedDriveItem': return new SharedDriveItem(); @@ -851,6 +854,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.standardWebPart': return new StandardWebPart(); case '#microsoft.graph.startHoldMusicOperation': return new StartHoldMusicOperation(); case '#microsoft.graph.stopHoldMusicOperation': return new StopHoldMusicOperation(); + case '#microsoft.graph.storageQuotaBreakdown': return new StorageQuotaBreakdown(); + case '#microsoft.graph.storageSettings': return new StorageSettings(); case '#microsoft.graph.stsPolicy': return new StsPolicy(); case '#microsoft.graph.subjectRightsRequest': return new SubjectRightsRequest(); case '#microsoft.graph.subscribedSku': return new SubscribedSku(); @@ -928,6 +933,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.unifiedRoleManagementPolicyRule': return new UnifiedRoleManagementPolicyRule(); case '#microsoft.graph.unifiedRoleScheduleBase': return new UnifiedRoleScheduleBase(); case '#microsoft.graph.unifiedRoleScheduleInstanceBase': return new UnifiedRoleScheduleInstanceBase(); + case '#microsoft.graph.unifiedStorageQuota': return new UnifiedStorageQuota(); case '#microsoft.graph.unmuteParticipantOperation': return new UnmuteParticipantOperation(); case '#microsoft.graph.updateRecordingStatusOperation': return new UpdateRecordingStatusOperation(); case '#microsoft.graph.urlAssessmentRequest': return new UrlAssessmentRequest(); @@ -961,19 +967,28 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereModelPerformance': return new UserExperienceAnalyticsWorkFromAnywhereModelPerformance(); case '#microsoft.graph.userFlowLanguageConfiguration': return new UserFlowLanguageConfiguration(); case '#microsoft.graph.userFlowLanguagePage': return new UserFlowLanguagePage(); + case '#microsoft.graph.userInsightsSettings': return new UserInsightsSettings(); case '#microsoft.graph.userInstallStateSummary': return new UserInstallStateSummary(); case '#microsoft.graph.userRegistrationDetails': return new UserRegistrationDetails(); case '#microsoft.graph.userScopeTeamsAppInstallation': return new UserScopeTeamsAppInstallation(); case '#microsoft.graph.userSettings': return new UserSettings(); case '#microsoft.graph.userSignInInsight': return new UserSignInInsight(); + case '#microsoft.graph.userStorage': return new UserStorage(); case '#microsoft.graph.userTeamwork': return new UserTeamwork(); case '#microsoft.graph.verticalSection': return new VerticalSection(); case '#microsoft.graph.virtualEndpoint': return new VirtualEndpoint(); case '#microsoft.graph.virtualEvent': return new VirtualEvent(); + case '#microsoft.graph.virtualEventPresenter': return new VirtualEventPresenter(); case '#microsoft.graph.virtualEventRegistration': return new VirtualEventRegistration(); + case '#microsoft.graph.virtualEventRegistrationConfiguration': return new VirtualEventRegistrationConfiguration(); + case '#microsoft.graph.virtualEventRegistrationCustomQuestion': return new VirtualEventRegistrationCustomQuestion(); + case '#microsoft.graph.virtualEventRegistrationPredefinedQuestion': return new VirtualEventRegistrationPredefinedQuestion(); + case '#microsoft.graph.virtualEventRegistrationQuestionBase': return new VirtualEventRegistrationQuestionBase(); case '#microsoft.graph.virtualEventSession': return new VirtualEventSession(); case '#microsoft.graph.virtualEventsRoot': return new VirtualEventsRoot(); + case '#microsoft.graph.virtualEventTownhall': return new VirtualEventTownhall(); case '#microsoft.graph.virtualEventWebinar': return new VirtualEventWebinar(); + case '#microsoft.graph.virtualEventWebinarRegistrationConfiguration': return new VirtualEventWebinarRegistrationConfiguration(); case '#microsoft.graph.voiceAuthenticationMethodConfiguration': return new VoiceAuthenticationMethodConfiguration(); case '#microsoft.graph.vppToken': return new VppToken(); case '#microsoft.graph.webApp': return new WebApp(); diff --git a/src/Generated/Models/ExternalConnectors/PropertyRule.php b/src/Generated/Models/ExternalConnectors/PropertyRule.php index 9c8809bb93f..d546abb8d1d 100644 --- a/src/Generated/Models/ExternalConnectors/PropertyRule.php +++ b/src/Generated/Models/ExternalConnectors/PropertyRule.php @@ -116,7 +116,7 @@ public function getProperty(): ?string { } /** - * Gets the values property value. A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. + * Gets the values property value. A collection with one or many strings. One or more specified strings are matched with the specified property using the specified operation. Required. * @return array|null */ public function getValues(): ?array { @@ -195,7 +195,7 @@ public function setProperty(?string $value): void { } /** - * Sets the values property value. A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. + * Sets the values property value. A collection with one or many strings. One or more specified strings are matched with the specified property using the specified operation. Required. * @param array|null $value Value to set for the values property. */ public function setValues(?array $value): void { diff --git a/src/Generated/Models/Group.php b/src/Generated/Models/Group.php index 73e7da3b1e7..0cab43fc9c0 100644 --- a/src/Generated/Models/Group.php +++ b/src/Generated/Models/Group.php @@ -405,7 +405,7 @@ public function getHasMembersWithLicenseErrors(): ?bool { } /** - * Gets the hideFromAddressLists property value. True if the group isn't displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Gets the hideFromAddressLists property value. True if the group isn't displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null */ public function getHideFromAddressLists(): ?bool { @@ -591,7 +591,7 @@ public function getOnenote(): ?Onenote { } /** - * Gets the onPremisesDomainName property value. The onPremisesDomainName property + * Gets the onPremisesDomainName property value. Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. * @return string|null */ public function getOnPremisesDomainName(): ?string { @@ -615,7 +615,7 @@ public function getOnPremisesLastSyncDateTime(): ?DateTime { } /** - * Gets the onPremisesNetBiosName property value. The onPremisesNetBiosName property + * Gets the onPremisesNetBiosName property value. Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. * @return string|null */ public function getOnPremisesNetBiosName(): ?string { @@ -653,7 +653,7 @@ public function getOnPremisesSamAccountName(): ?string { } /** - * Gets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only. Returned by default. Supports $filter (eq including on null values). Read-only. + * Gets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only. Returned by default. Supports $filter (eq including on null values). * @return string|null */ public function getOnPremisesSecurityIdentifier(): ?string { @@ -1226,7 +1226,7 @@ public function setHasMembersWithLicenseErrors(?bool $value): void { } /** - * Sets the hideFromAddressLists property value. True if the group isn't displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * Sets the hideFromAddressLists property value. True if the group isn't displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @param bool|null $value Value to set for the hideFromAddressLists property. */ public function setHideFromAddressLists(?bool $value): void { @@ -1346,7 +1346,7 @@ public function setOnenote(?Onenote $value): void { } /** - * Sets the onPremisesDomainName property value. The onPremisesDomainName property + * Sets the onPremisesDomainName property value. Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. * @param string|null $value Value to set for the onPremisesDomainName property. */ public function setOnPremisesDomainName(?string $value): void { @@ -1362,7 +1362,7 @@ public function setOnPremisesLastSyncDateTime(?DateTime $value): void { } /** - * Sets the onPremisesNetBiosName property value. The onPremisesNetBiosName property + * Sets the onPremisesNetBiosName property value. Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. * @param string|null $value Value to set for the onPremisesNetBiosName property. */ public function setOnPremisesNetBiosName(?string $value): void { @@ -1386,7 +1386,7 @@ public function setOnPremisesSamAccountName(?string $value): void { } /** - * Sets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only. Returned by default. Supports $filter (eq including on null values). Read-only. + * Sets the onPremisesSecurityIdentifier property value. Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only. Returned by default. Supports $filter (eq including on null values). * @param string|null $value Value to set for the onPremisesSecurityIdentifier property. */ public function setOnPremisesSecurityIdentifier(?string $value): void { diff --git a/src/Generated/Models/Identity.php b/src/Generated/Models/Identity.php index 6166a3368b7..3a8e01dc1a7 100644 --- a/src/Generated/Models/Identity.php +++ b/src/Generated/Models/Identity.php @@ -83,7 +83,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as having changed when using delta. + * Gets the displayName property value. The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. * @return string|null */ public function getDisplayName(): ?string { @@ -108,7 +108,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the id property value. Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response. + * Gets the id property value. Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. * @return string|null */ public function getId(): ?string { @@ -159,7 +159,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as having changed when using delta. + * Sets the displayName property value. The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -167,7 +167,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the id property value. Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response. + * Sets the id property value. Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. * @param string|null $value Value to set for the id property. */ public function setId(?string $value): void { diff --git a/src/Generated/Models/IdentityGovernance/Task.php b/src/Generated/Models/IdentityGovernance/Task.php index cd388d4a5af..567d834331e 100644 --- a/src/Generated/Models/IdentityGovernance/Task.php +++ b/src/Generated/Models/IdentityGovernance/Task.php @@ -54,7 +54,7 @@ public function getCategory(): ?LifecycleTaskCategory { } /** - * Gets the continueOnError property value. A boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional. + * Gets the continueOnError property value. A Boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional. * @return bool|null */ public function getContinueOnError(): ?bool { @@ -121,7 +121,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isEnabled property value. A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy. + * Gets the isEnabled property value. A Boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy. * @return bool|null */ public function getIsEnabled(): ?bool { @@ -192,7 +192,7 @@ public function setCategory(?LifecycleTaskCategory $value): void { } /** - * Sets the continueOnError property value. A boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional. + * Sets the continueOnError property value. A Boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional. * @param bool|null $value Value to set for the continueOnError property. */ public function setContinueOnError(?bool $value): void { @@ -224,7 +224,7 @@ public function setExecutionSequence(?int $value): void { } /** - * Sets the isEnabled property value. A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy. + * Sets the isEnabled property value. A Boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy. * @param bool|null $value Value to set for the isEnabled property. */ public function setIsEnabled(?bool $value): void { diff --git a/src/Generated/Models/InsightsSettings.php b/src/Generated/Models/InsightsSettings.php new file mode 100644 index 00000000000..18d3e7a2840 --- /dev/null +++ b/src/Generated/Models/InsightsSettings.php @@ -0,0 +1,89 @@ +getBackingStore()->get('disabledForGroup'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'disabledForGroup'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'disabledForGroup' => fn(ParseNode $n) => $o->setDisabledForGroup($n->getStringValue()), + 'isEnabledInOrganization' => fn(ParseNode $n) => $o->setIsEnabledInOrganization($n->getBooleanValue()), + ]); + } + + /** + * Gets the isEnabledInOrganization property value. true if insights of the specified type are enabled for the organization; false if insights of the specified type are disabled for all users without exceptions. The default value is true. Optional. + * @return bool|null + */ + public function getIsEnabledInOrganization(): ?bool { + $val = $this->getBackingStore()->get('isEnabledInOrganization'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnabledInOrganization'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('disabledForGroup', $this->getDisabledForGroup()); + $writer->writeBooleanValue('isEnabledInOrganization', $this->getIsEnabledInOrganization()); + } + + /** + * Sets the disabledForGroup property value. The ID of a Microsoft Entra group, of which the specified type of insights are disabled for its members. The default value is null. Optional. + * @param string|null $value Value to set for the disabledForGroup property. + */ + public function setDisabledForGroup(?string $value): void { + $this->getBackingStore()->set('disabledForGroup', $value); + } + + /** + * Sets the isEnabledInOrganization property value. true if insights of the specified type are enabled for the organization; false if insights of the specified type are disabled for all users without exceptions. The default value is true. Optional. + * @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/ItemInsights.php b/src/Generated/Models/ItemInsights.php new file mode 100644 index 00000000000..ab37c91915b --- /dev/null +++ b/src/Generated/Models/ItemInsights.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/MeetingParticipantInfo.php b/src/Generated/Models/MeetingParticipantInfo.php index 5c1e0889de6..e7c2d1fb9e2 100644 --- a/src/Generated/Models/MeetingParticipantInfo.php +++ b/src/Generated/Models/MeetingParticipantInfo.php @@ -31,6 +31,13 @@ public function __construct() { * @return MeetingParticipantInfo */ public static function createFromDiscriminatorValue(ParseNode $parseNode): MeetingParticipantInfo { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.virtualEventPresenterInfo': return new VirtualEventPresenterInfo(); + } + } return new MeetingParticipantInfo(); } diff --git a/src/Generated/Models/NativeAuthenticationApisEnabled.php b/src/Generated/Models/NativeAuthenticationApisEnabled.php new file mode 100644 index 00000000000..a2ee12c0164 --- /dev/null +++ b/src/Generated/Models/NativeAuthenticationApisEnabled.php @@ -0,0 +1,11 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.itemInsights': return new ItemInsights(); + } + } return new OfficeGraphInsights(); } @@ -39,7 +46,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the shared property value. Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Gets the shared property value. Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @return array|null */ public function getShared(): ?array { @@ -53,7 +60,7 @@ public function getShared(): ?array { } /** - * Gets the trending property value. Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Gets the trending property value. Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @return array|null */ public function getTrending(): ?array { @@ -67,7 +74,7 @@ public function getTrending(): ?array { } /** - * Gets the used property value. Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Gets the used property value. Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @return array|null */ public function getUsed(): ?array { @@ -92,7 +99,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the shared property value. Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Sets the shared property value. Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param array|null $value Value to set for the shared property. */ public function setShared(?array $value): void { @@ -100,7 +107,7 @@ public function setShared(?array $value): void { } /** - * Sets the trending property value. Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Sets the trending property value. Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @param array|null $value Value to set for the trending property. */ public function setTrending(?array $value): void { @@ -108,7 +115,7 @@ public function setTrending(?array $value): void { } /** - * Sets the used property value. Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Sets the used property value. Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param array|null $value Value to set for the used property. */ public function setUsed(?array $value): void { diff --git a/src/Generated/Models/OnlineMeeting.php b/src/Generated/Models/OnlineMeeting.php index 55fa39311bc..3478c3b1743 100644 --- a/src/Generated/Models/OnlineMeeting.php +++ b/src/Generated/Models/OnlineMeeting.php @@ -147,7 +147,7 @@ public function getRecordings(): ?array { } /** - * Gets the startDateTime property value. The meeting start time in UTC. Required when you create an online meeting. + * Gets the startDateTime property value. The meeting start time in UTC. * @return DateTime|null */ public function getStartDateTime(): ?DateTime { @@ -255,7 +255,7 @@ public function setRecordings(?array $value): void { } /** - * Sets the startDateTime property value. The meeting start time in UTC. Required when you create an online meeting. + * Sets the startDateTime property value. The meeting start time in UTC. * @param DateTime|null $value Value to set for the startDateTime property. */ public function setStartDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/PeopleAdminSettings.php b/src/Generated/Models/PeopleAdminSettings.php index 07f706c9f4f..44d9ff9d2c2 100644 --- a/src/Generated/Models/PeopleAdminSettings.php +++ b/src/Generated/Models/PeopleAdminSettings.php @@ -32,11 +32,24 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Peopl public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'itemInsights' => fn(ParseNode $n) => $o->setItemInsights($n->getObjectValue([InsightsSettings::class, 'createFromDiscriminatorValue'])), 'profileCardProperties' => fn(ParseNode $n) => $o->setProfileCardProperties($n->getCollectionOfObjectValues([ProfileCardProperty::class, 'createFromDiscriminatorValue'])), 'pronouns' => fn(ParseNode $n) => $o->setPronouns($n->getObjectValue([PronounsSettings::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the itemInsights property value. Represents administrator settings that manage the support for item insights in an organization. + * @return InsightsSettings|null + */ + public function getItemInsights(): ?InsightsSettings { + $val = $this->getBackingStore()->get('itemInsights'); + if (is_null($val) || $val instanceof InsightsSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'itemInsights'"); + } + /** * Gets the profileCardProperties property value. Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * @return array|null @@ -69,10 +82,19 @@ public function getPronouns(): ?PronounsSettings { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('itemInsights', $this->getItemInsights()); $writer->writeCollectionOfObjectValues('profileCardProperties', $this->getProfileCardProperties()); $writer->writeObjectValue('pronouns', $this->getPronouns()); } + /** + * Sets the itemInsights property value. Represents administrator settings that manage the support for item insights in an organization. + * @param InsightsSettings|null $value Value to set for the itemInsights property. + */ + public function setItemInsights(?InsightsSettings $value): void { + $this->getBackingStore()->set('itemInsights', $value); + } + /** * Sets the profileCardProperties property value. Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * @param array|null $value Value to set for the profileCardProperties property. diff --git a/src/Generated/Models/PublicClientApplication.php b/src/Generated/Models/PublicClientApplication.php index 91653795cb3..773573ca62a 100644 --- a/src/Generated/Models/PublicClientApplication.php +++ b/src/Generated/Models/PublicClientApplication.php @@ -88,7 +88,7 @@ public function getOdataType(): ?string { } /** - * Gets the redirectUris property value. Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * Gets the redirectUris property value. Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}://auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS://auth. * @return array|null */ public function getRedirectUris(): ?array { @@ -136,7 +136,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the redirectUris property value. Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * Sets the redirectUris property value. Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}://auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS://auth. * @param array|null $value Value to set for the redirectUris property. */ public function setRedirectUris(?array $value): void { diff --git a/src/Generated/Models/SecureScore.php b/src/Generated/Models/SecureScore.php index dba913f7d2a..ee1f2d8a3ef 100644 --- a/src/Generated/Models/SecureScore.php +++ b/src/Generated/Models/SecureScore.php @@ -79,7 +79,7 @@ public function getControlScores(): ?array { } /** - * Gets the createdDateTime property value. The date when the entity is created. + * Gets the createdDateTime property value. When the report was created. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -230,7 +230,7 @@ public function setControlScores(?array $value): void { } /** - * Sets the createdDateTime property value. The date when the entity is created. + * Sets the createdDateTime property value. When the report was created. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/Security/AlertEvidence.php b/src/Generated/Models/Security/AlertEvidence.php index 104b5f5bd54..17fe41c2148 100644 --- a/src/Generated/Models/Security/AlertEvidence.php +++ b/src/Generated/Models/Security/AlertEvidence.php @@ -43,6 +43,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Alert case '#microsoft.graph.security.blobContainerEvidence': return new BlobContainerEvidence(); case '#microsoft.graph.security.blobEvidence': return new BlobEvidence(); case '#microsoft.graph.security.cloudApplicationEvidence': return new CloudApplicationEvidence(); + case '#microsoft.graph.security.cloudLogonRequestEvidence': return new CloudLogonRequestEvidence(); + case '#microsoft.graph.security.cloudLogonSessionEvidence': return new CloudLogonSessionEvidence(); case '#microsoft.graph.security.containerEvidence': return new ContainerEvidence(); case '#microsoft.graph.security.containerImageEvidence': return new ContainerImageEvidence(); case '#microsoft.graph.security.containerRegistryEvidence': return new ContainerRegistryEvidence(); diff --git a/src/Generated/Models/Security/CloudLogonRequestEvidence.php b/src/Generated/Models/Security/CloudLogonRequestEvidence.php new file mode 100644 index 00000000000..4c87c745a37 --- /dev/null +++ b/src/Generated/Models/Security/CloudLogonRequestEvidence.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.security.cloudLogonRequestEvidence'); + } + + /** + * 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 CloudLogonRequestEvidence + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudLogonRequestEvidence { + return new CloudLogonRequestEvidence(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'requestId' => fn(ParseNode $n) => $o->setRequestId($n->getStringValue()), + ]); + } + + /** + * Gets the requestId property value. The unique identifier for the sign-in request. + * @return string|null + */ + public function getRequestId(): ?string { + $val = $this->getBackingStore()->get('requestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('requestId', $this->getRequestId()); + } + + /** + * Sets the requestId property value. The unique identifier for the sign-in request. + * @param string|null $value Value to set for the requestId property. + */ + public function setRequestId(?string $value): void { + $this->getBackingStore()->set('requestId', $value); + } + +} diff --git a/src/Generated/Models/Security/CloudLogonSessionEvidence.php b/src/Generated/Models/Security/CloudLogonSessionEvidence.php new file mode 100644 index 00000000000..42bd47108ba --- /dev/null +++ b/src/Generated/Models/Security/CloudLogonSessionEvidence.php @@ -0,0 +1,245 @@ +setOdataType('#microsoft.graph.security.cloudLogonSessionEvidence'); + } + + /** + * 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 CloudLogonSessionEvidence + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudLogonSessionEvidence { + return new CloudLogonSessionEvidence(); + } + + /** + * Gets the account property value. The account associated with the sign-in session. + * @return UserEvidence|null + */ + public function getAccount(): ?UserEvidence { + $val = $this->getBackingStore()->get('account'); + if (is_null($val) || $val instanceof UserEvidence) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'account'"); + } + + /** + * Gets the browser property value. The browser that is used for the sign-in, if known. + * @return string|null + */ + public function getBrowser(): ?string { + $val = $this->getBackingStore()->get('browser'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'browser'"); + } + + /** + * Gets the deviceName property value. The friendly name of the device, if known. + * @return string|null + */ + public function getDeviceName(): ?string { + $val = $this->getBackingStore()->get('deviceName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'account' => fn(ParseNode $n) => $o->setAccount($n->getObjectValue([UserEvidence::class, 'createFromDiscriminatorValue'])), + 'browser' => fn(ParseNode $n) => $o->setBrowser($n->getStringValue()), + 'deviceName' => fn(ParseNode $n) => $o->setDeviceName($n->getStringValue()), + 'operatingSystem' => fn(ParseNode $n) => $o->setOperatingSystem($n->getStringValue()), + 'previousLogonDateTime' => fn(ParseNode $n) => $o->setPreviousLogonDateTime($n->getDateTimeValue()), + 'protocol' => fn(ParseNode $n) => $o->setProtocol($n->getStringValue()), + 'sessionId' => fn(ParseNode $n) => $o->setSessionId($n->getStringValue()), + 'startUtcDateTime' => fn(ParseNode $n) => $o->setStartUtcDateTime($n->getDateTimeValue()), + 'userAgent' => fn(ParseNode $n) => $o->setUserAgent($n->getStringValue()), + ]); + } + + /** + * Gets the operatingSystem property value. The operating system that the device is running, if known. + * @return string|null + */ + public function getOperatingSystem(): ?string { + $val = $this->getBackingStore()->get('operatingSystem'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystem'"); + } + + /** + * Gets the previousLogonDateTime property value. The previous sign-in time for this account, if known. + * @return DateTime|null + */ + public function getPreviousLogonDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('previousLogonDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'previousLogonDateTime'"); + } + + /** + * Gets the protocol property value. The authentication protocol that is used in this session, if known. + * @return string|null + */ + public function getProtocol(): ?string { + $val = $this->getBackingStore()->get('protocol'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protocol'"); + } + + /** + * Gets the sessionId property value. The session ID for the account reported in the alert. + * @return string|null + */ + public function getSessionId(): ?string { + $val = $this->getBackingStore()->get('sessionId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sessionId'"); + } + + /** + * Gets the startUtcDateTime property value. The session start time, if known. + * @return DateTime|null + */ + public function getStartUtcDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('startUtcDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startUtcDateTime'"); + } + + /** + * Gets the userAgent property value. The user agent that is used for the sign-in, if known. + * @return string|null + */ + public function getUserAgent(): ?string { + $val = $this->getBackingStore()->get('userAgent'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userAgent'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('account', $this->getAccount()); + $writer->writeStringValue('browser', $this->getBrowser()); + $writer->writeStringValue('deviceName', $this->getDeviceName()); + $writer->writeStringValue('operatingSystem', $this->getOperatingSystem()); + $writer->writeDateTimeValue('previousLogonDateTime', $this->getPreviousLogonDateTime()); + $writer->writeStringValue('protocol', $this->getProtocol()); + $writer->writeStringValue('sessionId', $this->getSessionId()); + $writer->writeDateTimeValue('startUtcDateTime', $this->getStartUtcDateTime()); + $writer->writeStringValue('userAgent', $this->getUserAgent()); + } + + /** + * Sets the account property value. The account associated with the sign-in session. + * @param UserEvidence|null $value Value to set for the account property. + */ + public function setAccount(?UserEvidence $value): void { + $this->getBackingStore()->set('account', $value); + } + + /** + * Sets the browser property value. The browser that is used for the sign-in, if known. + * @param string|null $value Value to set for the browser property. + */ + public function setBrowser(?string $value): void { + $this->getBackingStore()->set('browser', $value); + } + + /** + * Sets the deviceName property value. The friendly name of the device, if known. + * @param string|null $value Value to set for the deviceName property. + */ + public function setDeviceName(?string $value): void { + $this->getBackingStore()->set('deviceName', $value); + } + + /** + * Sets the operatingSystem property value. The operating system that the device is running, if known. + * @param string|null $value Value to set for the operatingSystem property. + */ + public function setOperatingSystem(?string $value): void { + $this->getBackingStore()->set('operatingSystem', $value); + } + + /** + * Sets the previousLogonDateTime property value. The previous sign-in time for this account, if known. + * @param DateTime|null $value Value to set for the previousLogonDateTime property. + */ + public function setPreviousLogonDateTime(?DateTime $value): void { + $this->getBackingStore()->set('previousLogonDateTime', $value); + } + + /** + * Sets the protocol property value. The authentication protocol that is used in this session, if known. + * @param string|null $value Value to set for the protocol property. + */ + public function setProtocol(?string $value): void { + $this->getBackingStore()->set('protocol', $value); + } + + /** + * Sets the sessionId property value. The session ID for the account reported in the alert. + * @param string|null $value Value to set for the sessionId property. + */ + public function setSessionId(?string $value): void { + $this->getBackingStore()->set('sessionId', $value); + } + + /** + * Sets the startUtcDateTime property value. The session start time, if known. + * @param DateTime|null $value Value to set for the startUtcDateTime property. + */ + public function setStartUtcDateTime(?DateTime $value): void { + $this->getBackingStore()->set('startUtcDateTime', $value); + } + + /** + * Sets the userAgent property value. The user agent that is used for the sign-in, if known. + * @param string|null $value Value to set for the userAgent property. + */ + public function setUserAgent(?string $value): void { + $this->getBackingStore()->set('userAgent', $value); + } + +} diff --git a/src/Generated/Models/Security/Incident.php b/src/Generated/Models/Security/Incident.php index 101ba9c508d..f6fcf8d3541 100644 --- a/src/Generated/Models/Security/Incident.php +++ b/src/Generated/Models/Security/Incident.php @@ -171,6 +171,7 @@ public function getFieldDeserializers(): array { 'resolvingComment' => fn(ParseNode $n) => $o->setResolvingComment($n->getStringValue()), 'severity' => fn(ParseNode $n) => $o->setSeverity($n->getEnumValue(AlertSeverity::class)), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(IncidentStatus::class)), + 'summary' => fn(ParseNode $n) => $o->setSummary($n->getStringValue()), 'systemTags' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); if (is_array($val)) { @@ -267,6 +268,18 @@ public function getStatus(): ?IncidentStatus { throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); } + /** + * Gets the summary property value. The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack. + * @return string|null + */ + public function getSummary(): ?string { + $val = $this->getBackingStore()->get('summary'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'summary'"); + } + /** * Gets the systemTags property value. The system tags associated with the incident. * @return array|null @@ -315,6 +328,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('resolvingComment', $this->getResolvingComment()); $writer->writeEnumValue('severity', $this->getSeverity()); $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('summary', $this->getSummary()); $writer->writeCollectionOfPrimitiveValues('systemTags', $this->getSystemTags()); $writer->writeStringValue('tenantId', $this->getTenantId()); } @@ -447,6 +461,14 @@ public function setStatus(?IncidentStatus $value): void { $this->getBackingStore()->set('status', $value); } + /** + * Sets the summary property value. The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack. + * @param string|null $value Value to set for the summary property. + */ + public function setSummary(?string $value): void { + $this->getBackingStore()->set('summary', $value); + } + /** * Sets the systemTags property value. The system tags associated with the incident. * @param array|null $value Value to set for the systemTags property. diff --git a/src/Generated/Models/Security/SslCertificate.php b/src/Generated/Models/Security/SslCertificate.php index 9949ce56361..7ba40679f8d 100644 --- a/src/Generated/Models/Security/SslCertificate.php +++ b/src/Generated/Models/Security/SslCertificate.php @@ -120,7 +120,7 @@ public function getLastSeenDateTime(): ?DateTime { } /** - * Gets the relatedHosts property value. The hosts related with this sslCertificate. + * Gets the relatedHosts property value. The host resources related with this sslCertificate. * @return array|null */ public function getRelatedHosts(): ?array { @@ -236,7 +236,7 @@ public function setLastSeenDateTime(?DateTime $value): void { } /** - * Sets the relatedHosts property value. The hosts related with this sslCertificate. + * Sets the relatedHosts property value. The host resources related with this sslCertificate. * @param array|null $value Value to set for the relatedHosts property. */ public function setRelatedHosts(?array $value): void { diff --git a/src/Generated/Models/ServiceStorageQuotaBreakdown.php b/src/Generated/Models/ServiceStorageQuotaBreakdown.php new file mode 100644 index 00000000000..ce9a94f0fe6 --- /dev/null +++ b/src/Generated/Models/ServiceStorageQuotaBreakdown.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/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.php b/src/Generated/Models/ServiceStorageQuotaBreakdownCollectionResponse.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.php rename to src/Generated/Models/ServiceStorageQuotaBreakdownCollectionResponse.php index 2e9905a44be..271fbbff8d0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenGetResponse.php +++ b/src/Generated/Models/ServiceStorageQuotaBreakdownCollectionResponse.php @@ -1,18 +1,16 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ServiceStorageQuotaBreakdown::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/Shared.php b/src/Generated/Models/Shared.php index d30a057b2d6..5701bce8317 100644 --- a/src/Generated/Models/Shared.php +++ b/src/Generated/Models/Shared.php @@ -96,7 +96,7 @@ public function getOwner(): ?IdentitySet { } /** - * Gets the scope property value. Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * Gets the scope property value. Indicates the scope of how the item is shared. The possible values are: anonymous, organization, or users. Read-only. * @return string|null */ public function getScope(): ?string { @@ -177,7 +177,7 @@ public function setOwner(?IdentitySet $value): void { } /** - * Sets the scope property value. Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * Sets the scope property value. Indicates the scope of how the item is shared. The possible values are: anonymous, organization, or users. Read-only. * @param string|null $value Value to set for the scope property. */ public function setScope(?string $value): void { diff --git a/src/Generated/Models/SignIn.php b/src/Generated/Models/SignIn.php index 5c7204c47ce..3a6bdbedd25 100644 --- a/src/Generated/Models/SignIn.php +++ b/src/Generated/Models/SignIn.php @@ -337,7 +337,7 @@ public function getUserId(): ?string { } /** - * Gets the userPrincipalName property value. User principal name of the user that initiated the sign-in. Supports $filter (eq, startsWith). + * Gets the userPrincipalName property value. User principal name of the user that initiated the sign-in. This value is always in lowercase. For guest users whose values in the user object typically contain #EXT# before the domain part, this property stores the value in both lowercase and the 'true' format. For example, while the user object stores AdeleVance_fabrikam.com#EXT#@contoso.com, the sign-in logs store adelevance@fabrikam.com. Supports $filter (eq, startsWith). * @return string|null */ public function getUserPrincipalName(): ?string { @@ -556,7 +556,7 @@ public function setUserId(?string $value): void { } /** - * Sets the userPrincipalName property value. User principal name of the user that initiated the sign-in. Supports $filter (eq, startsWith). + * Sets the userPrincipalName property value. User principal name of the user that initiated the sign-in. This value is always in lowercase. For guest users whose values in the user object typically contain #EXT# before the domain part, this property stores the value in both lowercase and the 'true' format. For example, while the user object stores AdeleVance_fabrikam.com#EXT#@contoso.com, the sign-in logs store adelevance@fabrikam.com. Supports $filter (eq, startsWith). * @param string|null $value Value to set for the userPrincipalName property. */ public function setUserPrincipalName(?string $value): void { diff --git a/src/Generated/Models/Storage.php b/src/Generated/Models/Storage.php index f59e5985d76..40671457b3d 100644 --- a/src/Generated/Models/Storage.php +++ b/src/Generated/Models/Storage.php @@ -64,6 +64,7 @@ public function getFieldDeserializers(): array { return [ 'fileStorage' => fn(ParseNode $n) => $o->setFileStorage($n->getObjectValue([FileStorage::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'settings' => fn(ParseNode $n) => $o->setSettings($n->getObjectValue([StorageSettings::class, 'createFromDiscriminatorValue'])), ]; } @@ -91,6 +92,18 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the settings property value. The settings property + * @return StorageSettings|null + */ + public function getSettings(): ?StorageSettings { + $val = $this->getBackingStore()->get('settings'); + if (is_null($val) || $val instanceof StorageSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'settings'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -98,6 +111,7 @@ public function getOdataType(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('fileStorage', $this->getFileStorage()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('settings', $this->getSettings()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -133,4 +147,12 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the settings property value. The settings property + * @param StorageSettings|null $value Value to set for the settings property. + */ + public function setSettings(?StorageSettings $value): void { + $this->getBackingStore()->set('settings', $value); + } + } diff --git a/src/Generated/Models/StorageQuotaBreakdown.php b/src/Generated/Models/StorageQuotaBreakdown.php new file mode 100644 index 00000000000..38a397d05a0 --- /dev/null +++ b/src/Generated/Models/StorageQuotaBreakdown.php @@ -0,0 +1,118 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.serviceStorageQuotaBreakdown': return new ServiceStorageQuotaBreakdown(); + } + } + return new StorageQuotaBreakdown(); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'manageWebUrl' => fn(ParseNode $n) => $o->setManageWebUrl($n->getStringValue()), + 'used' => fn(ParseNode $n) => $o->setUsed($n->getIntegerValue()), + ]); + } + + /** + * Gets the manageWebUrl property value. The manageWebUrl property + * @return string|null + */ + public function getManageWebUrl(): ?string { + $val = $this->getBackingStore()->get('manageWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'manageWebUrl'"); + } + + /** + * Gets the used property value. The used property + * @return int|null + */ + public function getUsed(): ?int { + $val = $this->getBackingStore()->get('used'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'used'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('manageWebUrl', $this->getManageWebUrl()); + $writer->writeIntegerValue('used', $this->getUsed()); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the manageWebUrl property value. The manageWebUrl property + * @param string|null $value Value to set for the manageWebUrl property. + */ + public function setManageWebUrl(?string $value): void { + $this->getBackingStore()->set('manageWebUrl', $value); + } + + /** + * Sets the used property value. The used property + * @param int|null $value Value to set for the used property. + */ + public function setUsed(?int $value): void { + $this->getBackingStore()->set('used', $value); + } + +} diff --git a/src/Generated/Models/StorageSettings.php b/src/Generated/Models/StorageSettings.php new file mode 100644 index 00000000000..6356a59790b --- /dev/null +++ b/src/Generated/Models/StorageSettings.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'quota' => fn(ParseNode $n) => $o->setQuota($n->getObjectValue([UnifiedStorageQuota::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the quota property value. The quota property + * @return UnifiedStorageQuota|null + */ + public function getQuota(): ?UnifiedStorageQuota { + $val = $this->getBackingStore()->get('quota'); + if (is_null($val) || $val instanceof UnifiedStorageQuota) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'quota'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('quota', $this->getQuota()); + } + + /** + * Sets the quota property value. The quota property + * @param UnifiedStorageQuota|null $value Value to set for the quota property. + */ + public function setQuota(?UnifiedStorageQuota $value): void { + $this->getBackingStore()->set('quota', $value); + } + +} diff --git a/src/Generated/Models/SubscribedSku.php b/src/Generated/Models/SubscribedSku.php index 2d16922df45..528d9e91ffe 100644 --- a/src/Generated/Models/SubscribedSku.php +++ b/src/Generated/Models/SubscribedSku.php @@ -50,7 +50,7 @@ public function getAccountName(): ?string { } /** - * Gets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'. + * Gets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. * @return string|null */ public function getAppliesTo(): ?string { @@ -151,7 +151,7 @@ public function getSkuId(): ?string { } /** - * Gets the skuPartNumber property value. The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * Gets the skuPartNumber property value. The SKU part number; for example: AAD_PREMIUM or RMSBASIC. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. * @return string|null */ public function getSkuPartNumber(): ?string { @@ -211,7 +211,7 @@ public function setAccountName(?string $value): void { } /** - * Sets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'. + * Sets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. * @param string|null $value Value to set for the appliesTo property. */ public function setAppliesTo(?string $value): void { @@ -259,7 +259,7 @@ public function setSkuId(?string $value): void { } /** - * Sets the skuPartNumber property value. The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * Sets the skuPartNumber property value. The SKU part number; for example: AAD_PREMIUM or RMSBASIC. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. * @param string|null $value Value to set for the skuPartNumber property. */ public function setSkuPartNumber(?string $value): void { diff --git a/src/Generated/Models/SynchronizationSchedule.php b/src/Generated/Models/SynchronizationSchedule.php index b0de6ae7c8d..200c2c7e021 100644 --- a/src/Generated/Models/SynchronizationSchedule.php +++ b/src/Generated/Models/SynchronizationSchedule.php @@ -84,7 +84,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the interval property value. The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of one month. + * Gets the interval property value. The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, P1M represents a period of one month and PT1M represents a period of one minute. * @return DateInterval|null */ public function getInterval(): ?DateInterval { @@ -156,7 +156,7 @@ public function setExpiration(?DateTime $value): void { } /** - * Sets the interval property value. The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of one month. + * Sets the interval property value. The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, P1M represents a period of one month and PT1M represents a period of one minute. * @param DateInterval|null $value Value to set for the interval property. */ public function setInterval(?DateInterval $value): void { diff --git a/src/Generated/Models/TeamsAsyncOperationType.php b/src/Generated/Models/TeamsAsyncOperationType.php index e4046a40eaa..a84408fa0b6 100644 --- a/src/Generated/Models/TeamsAsyncOperationType.php +++ b/src/Generated/Models/TeamsAsyncOperationType.php @@ -13,4 +13,6 @@ class TeamsAsyncOperationType extends Enum { public const UNKNOWN_FUTURE_VALUE = 'unknownFutureValue'; public const TEAMIFY_GROUP = 'teamifyGroup'; public const CREATE_CHANNEL = 'createChannel'; + public const ARCHIVE_CHANNEL = 'archiveChannel'; + public const UNARCHIVE_CHANNEL = 'unarchiveChannel'; } diff --git a/src/Generated/Models/Teamwork.php b/src/Generated/Models/Teamwork.php index 6f372adbac1..0ff399c8fc1 100644 --- a/src/Generated/Models/Teamwork.php +++ b/src/Generated/Models/Teamwork.php @@ -82,7 +82,7 @@ public function getIsTeamsEnabled(): ?bool { } /** - * Gets the region property value. Represents the region of the organization. > The region property contains the organization's or the user's region. The property contains the user's region (if available) for users who have a valid multigeo license. For users without multigeo licenses, the region property contains the organization's region. + * Gets the region property value. Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China. * @return string|null */ public function getRegion(): ?string { @@ -158,7 +158,7 @@ public function setIsTeamsEnabled(?bool $value): void { } /** - * Sets the region property value. Represents the region of the organization. > The region property contains the organization's or the user's region. The property contains the user's region (if available) for users who have a valid multigeo license. For users without multigeo licenses, the region property contains the organization's region. + * Sets the region property value. Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China. * @param string|null $value Value to set for the region property. */ public function setRegion(?string $value): void { diff --git a/src/Generated/Models/TenantAppManagementPolicy.php b/src/Generated/Models/TenantAppManagementPolicy.php index 1b415830db6..44de3367e13 100644 --- a/src/Generated/Models/TenantAppManagementPolicy.php +++ b/src/Generated/Models/TenantAppManagementPolicy.php @@ -27,11 +27,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Tenan /** * Gets the applicationRestrictions property value. Restrictions that apply as default to all application objects in the tenant. - * @return AppManagementConfiguration|null + * @return AppManagementApplicationConfiguration|null */ - public function getApplicationRestrictions(): ?AppManagementConfiguration { + public function getApplicationRestrictions(): ?AppManagementApplicationConfiguration { $val = $this->getBackingStore()->get('applicationRestrictions'); - if (is_null($val) || $val instanceof AppManagementConfiguration) { + if (is_null($val) || $val instanceof AppManagementApplicationConfiguration) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationRestrictions'"); @@ -44,9 +44,9 @@ public function getApplicationRestrictions(): ?AppManagementConfiguration { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'applicationRestrictions' => fn(ParseNode $n) => $o->setApplicationRestrictions($n->getObjectValue([AppManagementConfiguration::class, 'createFromDiscriminatorValue'])), + 'applicationRestrictions' => fn(ParseNode $n) => $o->setApplicationRestrictions($n->getObjectValue([AppManagementApplicationConfiguration::class, 'createFromDiscriminatorValue'])), 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), - 'servicePrincipalRestrictions' => fn(ParseNode $n) => $o->setServicePrincipalRestrictions($n->getObjectValue([AppManagementConfiguration::class, 'createFromDiscriminatorValue'])), + 'servicePrincipalRestrictions' => fn(ParseNode $n) => $o->setServicePrincipalRestrictions($n->getObjectValue([AppManagementServicePrincipalConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -64,11 +64,11 @@ public function getIsEnabled(): ?bool { /** * Gets the servicePrincipalRestrictions property value. Restrictions that apply as default to all service principal objects in the tenant. - * @return AppManagementConfiguration|null + * @return AppManagementServicePrincipalConfiguration|null */ - public function getServicePrincipalRestrictions(): ?AppManagementConfiguration { + public function getServicePrincipalRestrictions(): ?AppManagementServicePrincipalConfiguration { $val = $this->getBackingStore()->get('servicePrincipalRestrictions'); - if (is_null($val) || $val instanceof AppManagementConfiguration) { + if (is_null($val) || $val instanceof AppManagementServicePrincipalConfiguration) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'servicePrincipalRestrictions'"); @@ -87,9 +87,9 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the applicationRestrictions property value. Restrictions that apply as default to all application objects in the tenant. - * @param AppManagementConfiguration|null $value Value to set for the applicationRestrictions property. + * @param AppManagementApplicationConfiguration|null $value Value to set for the applicationRestrictions property. */ - public function setApplicationRestrictions(?AppManagementConfiguration $value): void { + public function setApplicationRestrictions(?AppManagementApplicationConfiguration $value): void { $this->getBackingStore()->set('applicationRestrictions', $value); } @@ -103,9 +103,9 @@ public function setIsEnabled(?bool $value): void { /** * Sets the servicePrincipalRestrictions property value. Restrictions that apply as default to all service principal objects in the tenant. - * @param AppManagementConfiguration|null $value Value to set for the servicePrincipalRestrictions property. + * @param AppManagementServicePrincipalConfiguration|null $value Value to set for the servicePrincipalRestrictions property. */ - public function setServicePrincipalRestrictions(?AppManagementConfiguration $value): void { + public function setServicePrincipalRestrictions(?AppManagementServicePrincipalConfiguration $value): void { $this->getBackingStore()->set('servicePrincipalRestrictions', $value); } diff --git a/src/Generated/Models/UnifiedRoleAssignment.php b/src/Generated/Models/UnifiedRoleAssignment.php index efb2cf83143..0bed9642f3c 100644 --- a/src/Generated/Models/UnifiedRoleAssignment.php +++ b/src/Generated/Models/UnifiedRoleAssignment.php @@ -61,7 +61,7 @@ public function getCondition(): ?string { } /** - * Gets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand. + * Gets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @return DirectoryObject|null */ public function getDirectoryScope(): ?DirectoryObject { @@ -104,7 +104,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the principal property value. Referencing the assigned principal. Read-only. Supports $expand. + * Gets the principal property value. Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @return DirectoryObject|null */ public function getPrincipal(): ?DirectoryObject { @@ -128,7 +128,7 @@ public function getPrincipalId(): ?string { } /** - * Gets the roleDefinition property value. The roleDefinition the assignment is for. Supports $expand. + * Gets the roleDefinition property value. The roleDefinition the assignment is for. Supports $expand. * @return UnifiedRoleDefinition|null */ public function getRoleDefinition(): ?UnifiedRoleDefinition { @@ -193,7 +193,7 @@ public function setCondition(?string $value): void { } /** - * Sets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand. + * Sets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @param DirectoryObject|null $value Value to set for the directoryScope property. */ public function setDirectoryScope(?DirectoryObject $value): void { @@ -209,7 +209,7 @@ public function setDirectoryScopeId(?string $value): void { } /** - * Sets the principal property value. Referencing the assigned principal. Read-only. Supports $expand. + * Sets the principal property value. Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @param DirectoryObject|null $value Value to set for the principal property. */ public function setPrincipal(?DirectoryObject $value): void { @@ -225,7 +225,7 @@ public function setPrincipalId(?string $value): void { } /** - * Sets the roleDefinition property value. The roleDefinition the assignment is for. Supports $expand. + * Sets the roleDefinition property value. The roleDefinition the assignment is for. Supports $expand. * @param UnifiedRoleDefinition|null $value Value to set for the roleDefinition property. */ public function setRoleDefinition(?UnifiedRoleDefinition $value): void { diff --git a/src/Generated/Models/UnifiedStorageQuota.php b/src/Generated/Models/UnifiedStorageQuota.php new file mode 100644 index 00000000000..296443e5fe6 --- /dev/null +++ b/src/Generated/Models/UnifiedStorageQuota.php @@ -0,0 +1,202 @@ +getBackingStore()->get('deleted'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deleted'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'deleted' => fn(ParseNode $n) => $o->setDeleted($n->getIntegerValue()), + 'manageWebUrl' => fn(ParseNode $n) => $o->setManageWebUrl($n->getStringValue()), + 'remaining' => fn(ParseNode $n) => $o->setRemaining($n->getIntegerValue()), + 'services' => fn(ParseNode $n) => $o->setServices($n->getCollectionOfObjectValues([ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getStringValue()), + 'total' => fn(ParseNode $n) => $o->setTotal($n->getIntegerValue()), + 'used' => fn(ParseNode $n) => $o->setUsed($n->getIntegerValue()), + ]); + } + + /** + * Gets the manageWebUrl property value. The manageWebUrl property + * @return string|null + */ + public function getManageWebUrl(): ?string { + $val = $this->getBackingStore()->get('manageWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'manageWebUrl'"); + } + + /** + * Gets the remaining property value. The remaining property + * @return int|null + */ + public function getRemaining(): ?int { + $val = $this->getBackingStore()->get('remaining'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'remaining'"); + } + + /** + * Gets the services property value. The services property + * @return array|null + */ + public function getServices(): ?array { + $val = $this->getBackingStore()->get('services'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ServiceStorageQuotaBreakdown::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'services'"); + } + + /** + * Gets the state property value. The state property + * @return string|null + */ + public function getState(): ?string { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the total property value. The total property + * @return int|null + */ + public function getTotal(): ?int { + $val = $this->getBackingStore()->get('total'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'total'"); + } + + /** + * Gets the used property value. The used property + * @return int|null + */ + public function getUsed(): ?int { + $val = $this->getBackingStore()->get('used'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'used'"); + } + + /** + * 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->writeIntegerValue('deleted', $this->getDeleted()); + $writer->writeStringValue('manageWebUrl', $this->getManageWebUrl()); + $writer->writeIntegerValue('remaining', $this->getRemaining()); + $writer->writeCollectionOfObjectValues('services', $this->getServices()); + $writer->writeStringValue('state', $this->getState()); + $writer->writeIntegerValue('total', $this->getTotal()); + $writer->writeIntegerValue('used', $this->getUsed()); + } + + /** + * Sets the deleted property value. The deleted property + * @param int|null $value Value to set for the deleted property. + */ + public function setDeleted(?int $value): void { + $this->getBackingStore()->set('deleted', $value); + } + + /** + * Sets the manageWebUrl property value. The manageWebUrl property + * @param string|null $value Value to set for the manageWebUrl property. + */ + public function setManageWebUrl(?string $value): void { + $this->getBackingStore()->set('manageWebUrl', $value); + } + + /** + * Sets the remaining property value. The remaining property + * @param int|null $value Value to set for the remaining property. + */ + public function setRemaining(?int $value): void { + $this->getBackingStore()->set('remaining', $value); + } + + /** + * Sets the services property value. The services property + * @param array|null $value Value to set for the services property. + */ + public function setServices(?array $value): void { + $this->getBackingStore()->set('services', $value); + } + + /** + * Sets the state property value. The state property + * @param string|null $value Value to set for the state property. + */ + public function setState(?string $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the total property value. The total property + * @param int|null $value Value to set for the total property. + */ + public function setTotal(?int $value): void { + $this->getBackingStore()->set('total', $value); + } + + /** + * Sets the used property value. The used property + * @param int|null $value Value to set for the used property. + */ + public function setUsed(?int $value): void { + $this->getBackingStore()->set('used', $value); + } + +} diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index 531b0fb568a..2a9ae128c0f 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -701,7 +701,7 @@ public function getFieldDeserializers(): array { $this->setImAddresses($val); }, 'inferenceClassification' => fn(ParseNode $n) => $o->setInferenceClassification($n->getObjectValue([InferenceClassification::class, 'createFromDiscriminatorValue'])), - 'insights' => fn(ParseNode $n) => $o->setInsights($n->getObjectValue([OfficeGraphInsights::class, 'createFromDiscriminatorValue'])), + 'insights' => fn(ParseNode $n) => $o->setInsights($n->getObjectValue([ItemInsights::class, 'createFromDiscriminatorValue'])), 'interests' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); if (is_array($val)) { @@ -907,11 +907,11 @@ public function getInferenceClassification(): ?InferenceClassification { /** * Gets the insights property value. The insights property - * @return OfficeGraphInsights|null + * @return ItemInsights|null */ - public function getInsights(): ?OfficeGraphInsights { + public function getInsights(): ?ItemInsights { $val = $this->getBackingStore()->get('insights'); - if (is_null($val) || $val instanceof OfficeGraphInsights) { + if (is_null($val) || $val instanceof ItemInsights) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'insights'"); @@ -2412,9 +2412,9 @@ public function setInferenceClassification(?InferenceClassification $value): voi /** * Sets the insights property value. The insights property - * @param OfficeGraphInsights|null $value Value to set for the insights property. + * @param ItemInsights|null $value Value to set for the insights property. */ - public function setInsights(?OfficeGraphInsights $value): void { + public function setInsights(?ItemInsights $value): void { $this->getBackingStore()->set('insights', $value); } diff --git a/src/Generated/Models/UserInsightsSettings.php b/src/Generated/Models/UserInsightsSettings.php new file mode 100644 index 00000000000..2ede5b4bb8a --- /dev/null +++ b/src/Generated/Models/UserInsightsSettings.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), + ]); + } + + /** + * Gets the isEnabled property value. The isEnabled property + * @return bool|null + */ + public function getIsEnabled(): ?bool { + $val = $this->getBackingStore()->get('isEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnabled'"); + } + + /** + * 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('isEnabled', $this->getIsEnabled()); + } + + /** + * Sets the isEnabled property value. The isEnabled property + * @param bool|null $value Value to set for the isEnabled property. + */ + public function setIsEnabled(?bool $value): void { + $this->getBackingStore()->set('isEnabled', $value); + } + +} diff --git a/src/Generated/Models/UserRegistrationDetails.php b/src/Generated/Models/UserRegistrationDetails.php index d5bfeb2ecb1..5777c09f0c0 100644 --- a/src/Generated/Models/UserRegistrationDetails.php +++ b/src/Generated/Models/UserRegistrationDetails.php @@ -162,7 +162,7 @@ public function getIsSystemPreferredAuthenticationMethodEnabled(): ?bool { } /** - * Gets the lastUpdatedDateTime property value. The date and time (UTC) when the record was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the lastUpdatedDateTime property value. The date and time (UTC) when the report was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getLastUpdatedDateTime(): ?DateTime { @@ -337,7 +337,7 @@ public function setIsSystemPreferredAuthenticationMethodEnabled(?bool $value): v } /** - * Sets the lastUpdatedDateTime property value. The date and time (UTC) when the record was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the lastUpdatedDateTime property value. The date and time (UTC) when the report was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the lastUpdatedDateTime property. */ public function setLastUpdatedDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/UserSettings.php b/src/Generated/Models/UserSettings.php index 647bfc77f38..3a94d3795dd 100644 --- a/src/Generated/Models/UserSettings.php +++ b/src/Generated/Models/UserSettings.php @@ -58,11 +58,25 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'contributionToContentDiscoveryAsOrganizationDisabled' => fn(ParseNode $n) => $o->setContributionToContentDiscoveryAsOrganizationDisabled($n->getBooleanValue()), 'contributionToContentDiscoveryDisabled' => fn(ParseNode $n) => $o->setContributionToContentDiscoveryDisabled($n->getBooleanValue()), + 'itemInsights' => fn(ParseNode $n) => $o->setItemInsights($n->getObjectValue([UserInsightsSettings::class, 'createFromDiscriminatorValue'])), 'shiftPreferences' => fn(ParseNode $n) => $o->setShiftPreferences($n->getObjectValue([ShiftPreferences::class, 'createFromDiscriminatorValue'])), + 'storage' => fn(ParseNode $n) => $o->setStorage($n->getObjectValue([UserStorage::class, 'createFromDiscriminatorValue'])), 'windows' => fn(ParseNode $n) => $o->setWindows($n->getCollectionOfObjectValues([WindowsSetting::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the itemInsights property value. The itemInsights property + * @return UserInsightsSettings|null + */ + public function getItemInsights(): ?UserInsightsSettings { + $val = $this->getBackingStore()->get('itemInsights'); + if (is_null($val) || $val instanceof UserInsightsSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'itemInsights'"); + } + /** * Gets the shiftPreferences property value. The shiftPreferences property * @return ShiftPreferences|null @@ -75,6 +89,18 @@ public function getShiftPreferences(): ?ShiftPreferences { throw new \UnexpectedValueException("Invalid type found in backing store for 'shiftPreferences'"); } + /** + * Gets the storage property value. The storage property + * @return UserStorage|null + */ + public function getStorage(): ?UserStorage { + $val = $this->getBackingStore()->get('storage'); + if (is_null($val) || $val instanceof UserStorage) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'storage'"); + } + /** * Gets the windows property value. The windows property * @return array|null @@ -97,7 +123,9 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeBooleanValue('contributionToContentDiscoveryAsOrganizationDisabled', $this->getContributionToContentDiscoveryAsOrganizationDisabled()); $writer->writeBooleanValue('contributionToContentDiscoveryDisabled', $this->getContributionToContentDiscoveryDisabled()); + $writer->writeObjectValue('itemInsights', $this->getItemInsights()); $writer->writeObjectValue('shiftPreferences', $this->getShiftPreferences()); + $writer->writeObjectValue('storage', $this->getStorage()); $writer->writeCollectionOfObjectValues('windows', $this->getWindows()); } @@ -117,6 +145,14 @@ public function setContributionToContentDiscoveryDisabled(?bool $value): void { $this->getBackingStore()->set('contributionToContentDiscoveryDisabled', $value); } + /** + * Sets the itemInsights property value. The itemInsights property + * @param UserInsightsSettings|null $value Value to set for the itemInsights property. + */ + public function setItemInsights(?UserInsightsSettings $value): void { + $this->getBackingStore()->set('itemInsights', $value); + } + /** * Sets the shiftPreferences property value. The shiftPreferences property * @param ShiftPreferences|null $value Value to set for the shiftPreferences property. @@ -125,6 +161,14 @@ public function setShiftPreferences(?ShiftPreferences $value): void { $this->getBackingStore()->set('shiftPreferences', $value); } + /** + * Sets the storage property value. The storage property + * @param UserStorage|null $value Value to set for the storage property. + */ + public function setStorage(?UserStorage $value): void { + $this->getBackingStore()->set('storage', $value); + } + /** * Sets the windows property value. The windows property * @param array|null $value Value to set for the windows property. diff --git a/src/Generated/Models/UserSimulationEventInfo.php b/src/Generated/Models/UserSimulationEventInfo.php index d35d2c5ee60..b7a9a7e1e8c 100644 --- a/src/Generated/Models/UserSimulationEventInfo.php +++ b/src/Generated/Models/UserSimulationEventInfo.php @@ -68,6 +68,18 @@ public function getBrowser(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'browser'"); } + /** + * Gets the clickSource property value. The clickSource property + * @return ClickSource|null + */ + public function getClickSource(): ?ClickSource { + $val = $this->getBackingStore()->get('clickSource'); + if (is_null($val) || $val instanceof ClickSource) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clickSource'"); + } + /** * Gets the eventDateTime property value. Date and time of the simulation event by a user in an attack simulation and training campaign. * @return DateTime|null @@ -100,6 +112,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'browser' => fn(ParseNode $n) => $o->setBrowser($n->getStringValue()), + 'clickSource' => fn(ParseNode $n) => $o->setClickSource($n->getEnumValue(ClickSource::class)), 'eventDateTime' => fn(ParseNode $n) => $o->setEventDateTime($n->getDateTimeValue()), 'eventName' => fn(ParseNode $n) => $o->setEventName($n->getStringValue()), 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), @@ -150,6 +163,7 @@ public function getOsPlatformDeviceDetails(): ?string { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('browser', $this->getBrowser()); + $writer->writeEnumValue('clickSource', $this->getClickSource()); $writer->writeDateTimeValue('eventDateTime', $this->getEventDateTime()); $writer->writeStringValue('eventName', $this->getEventName()); $writer->writeStringValue('ipAddress', $this->getIpAddress()); @@ -182,6 +196,14 @@ public function setBrowser(?string $value): void { $this->getBackingStore()->set('browser', $value); } + /** + * Sets the clickSource property value. The clickSource property + * @param ClickSource|null $value Value to set for the clickSource property. + */ + public function setClickSource(?ClickSource $value): void { + $this->getBackingStore()->set('clickSource', $value); + } + /** * Sets the eventDateTime property value. Date and time of the simulation event by a user in an attack simulation and training campaign. * @param DateTime|null $value Value to set for the eventDateTime property. diff --git a/src/Generated/Models/UserStorage.php b/src/Generated/Models/UserStorage.php new file mode 100644 index 00000000000..f59558a2090 --- /dev/null +++ b/src/Generated/Models/UserStorage.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'quota' => fn(ParseNode $n) => $o->setQuota($n->getObjectValue([UnifiedStorageQuota::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the quota property value. The quota property + * @return UnifiedStorageQuota|null + */ + public function getQuota(): ?UnifiedStorageQuota { + $val = $this->getBackingStore()->get('quota'); + if (is_null($val) || $val instanceof UnifiedStorageQuota) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'quota'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('quota', $this->getQuota()); + } + + /** + * Sets the quota property value. The quota property + * @param UnifiedStorageQuota|null $value Value to set for the quota property. + */ + public function setQuota(?UnifiedStorageQuota $value): void { + $this->getBackingStore()->set('quota', $value); + } + +} diff --git a/src/Generated/Models/UserTeamwork.php b/src/Generated/Models/UserTeamwork.php index 833cf84e960..2edca6caeaf 100644 --- a/src/Generated/Models/UserTeamwork.php +++ b/src/Generated/Models/UserTeamwork.php @@ -68,7 +68,7 @@ public function getInstalledApps(): ?array { } /** - * Gets the locale property value. The chosen locale of a user in Microsoft Teams. + * Gets the locale property value. Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. * @return string|null */ public function getLocale(): ?string { @@ -80,7 +80,7 @@ public function getLocale(): ?string { } /** - * Gets the region property value. The region of the user in Microsoft Teams. + * Gets the region property value. Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user's region (if available). For users without multigeo licenses, the property contains the organization's region.The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China. * @return string|null */ public function getRegion(): ?string { @@ -120,7 +120,7 @@ public function setInstalledApps(?array $value): void { } /** - * Sets the locale property value. The chosen locale of a user in Microsoft Teams. + * Sets the locale property value. Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. * @param string|null $value Value to set for the locale property. */ public function setLocale(?string $value): void { @@ -128,7 +128,7 @@ public function setLocale(?string $value): void { } /** - * Sets the region property value. The region of the user in Microsoft Teams. + * Sets the region property value. Represents the region of the organization or the user. For users with multigeo licenses, the property contains the user's region (if available). For users without multigeo licenses, the property contains the organization's region.The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China. * @param string|null $value Value to set for the region property. */ public function setRegion(?string $value): void { diff --git a/src/Generated/Models/VirtualEvent.php b/src/Generated/Models/VirtualEvent.php index fddd0d2d028..1722e41b172 100644 --- a/src/Generated/Models/VirtualEvent.php +++ b/src/Generated/Models/VirtualEvent.php @@ -26,6 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Virtu if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.virtualEventTownhall': return new VirtualEventTownhall(); case '#microsoft.graph.virtualEventWebinar': return new VirtualEventWebinar(); } } @@ -33,7 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Virtu } /** - * Gets the createdBy property value. Identity information for the creator of the virtual event. Inherited from virtualEvent. + * Gets the createdBy property value. The identity information for the creator of the virtual event. Inherited from virtualEvent. * @return CommunicationsIdentitySet|null */ public function getCreatedBy(): ?CommunicationsIdentitySet { @@ -45,7 +46,7 @@ public function getCreatedBy(): ?CommunicationsIdentitySet { } /** - * Gets the description property value. Description of the virtual event. + * Gets the description property value. A description of the virtual event. * @return ItemBody|null */ public function getDescription(): ?ItemBody { @@ -57,7 +58,7 @@ public function getDescription(): ?ItemBody { } /** - * Gets the displayName property value. Display name of the virtual event. + * Gets the displayName property value. The display name of the virtual event. * @return string|null */ public function getDisplayName(): ?string { @@ -69,7 +70,7 @@ public function getDisplayName(): ?string { } /** - * Gets the endDateTime property value. End time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. + * Gets the endDateTime property value. The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. * @return DateTimeTimeZone|null */ public function getEndDateTime(): ?DateTimeTimeZone { @@ -91,6 +92,7 @@ public function getFieldDeserializers(): array { 'description' => fn(ParseNode $n) => $o->setDescription($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'presenters' => fn(ParseNode $n) => $o->setPresenters($n->getCollectionOfObjectValues([VirtualEventPresenter::class, 'createFromDiscriminatorValue'])), 'sessions' => fn(ParseNode $n) => $o->setSessions($n->getCollectionOfObjectValues([VirtualEventSession::class, 'createFromDiscriminatorValue'])), 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(VirtualEventStatus::class)), @@ -98,7 +100,21 @@ public function getFieldDeserializers(): array { } /** - * Gets the sessions property value. Sessions for the virtual event. + * Gets the presenters property value. The virtual event presenters. + * @return array|null + */ + public function getPresenters(): ?array { + $val = $this->getBackingStore()->get('presenters'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventPresenter::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'presenters'"); + } + + /** + * Gets the sessions property value. The sessions for the virtual event. * @return array|null */ public function getSessions(): ?array { @@ -124,7 +140,7 @@ public function getStartDateTime(): ?DateTimeTimeZone { } /** - * Gets the status property value. Status of the virtual event. The possible values are: draft, published, canceled, unknownFutureValue. + * Gets the status property value. The status of the virtual event. The possible values are: draft, published, canceled, and unknownFutureValue. * @return VirtualEventStatus|null */ public function getStatus(): ?VirtualEventStatus { @@ -145,13 +161,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeObjectValue('endDateTime', $this->getEndDateTime()); + $writer->writeCollectionOfObjectValues('presenters', $this->getPresenters()); $writer->writeCollectionOfObjectValues('sessions', $this->getSessions()); $writer->writeObjectValue('startDateTime', $this->getStartDateTime()); $writer->writeEnumValue('status', $this->getStatus()); } /** - * Sets the createdBy property value. Identity information for the creator of the virtual event. Inherited from virtualEvent. + * Sets the createdBy property value. The identity information for the creator of the virtual event. Inherited from virtualEvent. * @param CommunicationsIdentitySet|null $value Value to set for the createdBy property. */ public function setCreatedBy(?CommunicationsIdentitySet $value): void { @@ -159,7 +176,7 @@ public function setCreatedBy(?CommunicationsIdentitySet $value): void { } /** - * Sets the description property value. Description of the virtual event. + * Sets the description property value. A description of the virtual event. * @param ItemBody|null $value Value to set for the description property. */ public function setDescription(?ItemBody $value): void { @@ -167,7 +184,7 @@ public function setDescription(?ItemBody $value): void { } /** - * Sets the displayName property value. Display name of the virtual event. + * Sets the displayName property value. The display name of the virtual event. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -175,7 +192,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the endDateTime property value. End time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. + * Sets the endDateTime property value. The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. * @param DateTimeTimeZone|null $value Value to set for the endDateTime property. */ public function setEndDateTime(?DateTimeTimeZone $value): void { @@ -183,7 +200,15 @@ public function setEndDateTime(?DateTimeTimeZone $value): void { } /** - * Sets the sessions property value. Sessions for the virtual event. + * Sets the presenters property value. The virtual event presenters. + * @param array|null $value Value to set for the presenters property. + */ + public function setPresenters(?array $value): void { + $this->getBackingStore()->set('presenters', $value); + } + + /** + * Sets the sessions property value. The sessions for the virtual event. * @param array|null $value Value to set for the sessions property. */ public function setSessions(?array $value): void { @@ -199,7 +224,7 @@ public function setStartDateTime(?DateTimeTimeZone $value): void { } /** - * Sets the status property value. Status of the virtual event. The possible values are: draft, published, canceled, unknownFutureValue. + * Sets the status property value. The status of the virtual event. The possible values are: draft, published, canceled, and unknownFutureValue. * @param VirtualEventStatus|null $value Value to set for the status property. */ public function setStatus(?VirtualEventStatus $value): void { diff --git a/src/Generated/Models/VirtualEventPresenter.php b/src/Generated/Models/VirtualEventPresenter.php new file mode 100644 index 00000000000..dca904a00e2 --- /dev/null +++ b/src/Generated/Models/VirtualEventPresenter.php @@ -0,0 +1,111 @@ +getBackingStore()->get('email'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'email'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), + 'identity' => fn(ParseNode $n) => $o->setIdentity($n->getObjectValue([Identity::class, 'createFromDiscriminatorValue'])), + 'presenterDetails' => fn(ParseNode $n) => $o->setPresenterDetails($n->getObjectValue([VirtualEventPresenterDetails::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the identity property value. Identity information of the presenter. The supported identities are: communicationsGuestIdentity and communicationsUserIdentity. + * @return Identity|null + */ + public function getIdentity(): ?Identity { + $val = $this->getBackingStore()->get('identity'); + if (is_null($val) || $val instanceof Identity) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identity'"); + } + + /** + * Gets the presenterDetails property value. Other details about the presenter. This property returns null when the virtual event type is virtualEventTownhall. + * @return VirtualEventPresenterDetails|null + */ + public function getPresenterDetails(): ?VirtualEventPresenterDetails { + $val = $this->getBackingStore()->get('presenterDetails'); + if (is_null($val) || $val instanceof VirtualEventPresenterDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'presenterDetails'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('email', $this->getEmail()); + $writer->writeObjectValue('identity', $this->getIdentity()); + $writer->writeObjectValue('presenterDetails', $this->getPresenterDetails()); + } + + /** + * Sets the email property value. Email address of the presenter. + * @param string|null $value Value to set for the email property. + */ + public function setEmail(?string $value): void { + $this->getBackingStore()->set('email', $value); + } + + /** + * Sets the identity property value. Identity information of the presenter. The supported identities are: communicationsGuestIdentity and communicationsUserIdentity. + * @param Identity|null $value Value to set for the identity property. + */ + public function setIdentity(?Identity $value): void { + $this->getBackingStore()->set('identity', $value); + } + + /** + * Sets the presenterDetails property value. Other details about the presenter. This property returns null when the virtual event type is virtualEventTownhall. + * @param VirtualEventPresenterDetails|null $value Value to set for the presenterDetails property. + */ + public function setPresenterDetails(?VirtualEventPresenterDetails $value): void { + $this->getBackingStore()->set('presenterDetails', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaGetResponse.php b/src/Generated/Models/VirtualEventPresenterCollectionResponse.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaGetResponse.php rename to src/Generated/Models/VirtualEventPresenterCollectionResponse.php index 96d082065da..72621cbf9e1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaGetResponse.php +++ b/src/Generated/Models/VirtualEventPresenterCollectionResponse.php @@ -1,18 +1,16 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ListItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventPresenter::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ListItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, VirtualEventPresenter::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/VirtualEventPresenterDetails.php b/src/Generated/Models/VirtualEventPresenterDetails.php new file mode 100644 index 00000000000..04702648a31 --- /dev/null +++ b/src/Generated/Models/VirtualEventPresenterDetails.php @@ -0,0 +1,269 @@ +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 VirtualEventPresenterDetails + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventPresenterDetails { + return new VirtualEventPresenterDetails(); + } + + /** + * 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 bio property value. Bio of the presenter. + * @return ItemBody|null + */ + public function getBio(): ?ItemBody { + $val = $this->getBackingStore()->get('bio'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'bio'"); + } + + /** + * Gets the company property value. The presenter's company name. + * @return string|null + */ + public function getCompany(): ?string { + $val = $this->getBackingStore()->get('company'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'company'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'bio' => fn(ParseNode $n) => $o->setBio($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'company' => fn(ParseNode $n) => $o->setCompany($n->getStringValue()), + 'jobTitle' => fn(ParseNode $n) => $o->setJobTitle($n->getStringValue()), + 'linkedInProfileWebUrl' => fn(ParseNode $n) => $o->setLinkedInProfileWebUrl($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'personalSiteWebUrl' => fn(ParseNode $n) => $o->setPersonalSiteWebUrl($n->getStringValue()), + 'photo' => fn(ParseNode $n) => $o->setPhoto($n->getBinaryContent()), + 'twitterProfileWebUrl' => fn(ParseNode $n) => $o->setTwitterProfileWebUrl($n->getStringValue()), + ]; + } + + /** + * Gets the jobTitle property value. The presenter's job title. + * @return string|null + */ + public function getJobTitle(): ?string { + $val = $this->getBackingStore()->get('jobTitle'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'jobTitle'"); + } + + /** + * Gets the linkedInProfileWebUrl property value. The presenter's LinkedIn profile URL. + * @return string|null + */ + public function getLinkedInProfileWebUrl(): ?string { + $val = $this->getBackingStore()->get('linkedInProfileWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'linkedInProfileWebUrl'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the personalSiteWebUrl property value. The presenter's personal website URL. + * @return string|null + */ + public function getPersonalSiteWebUrl(): ?string { + $val = $this->getBackingStore()->get('personalSiteWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'personalSiteWebUrl'"); + } + + /** + * Gets the photo property value. The content stream of the presenter's photo. + * @return StreamInterface|null + */ + public function getPhoto(): ?StreamInterface { + $val = $this->getBackingStore()->get('photo'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'photo'"); + } + + /** + * Gets the twitterProfileWebUrl property value. The presenter's Twitter profile URL. + * @return string|null + */ + public function getTwitterProfileWebUrl(): ?string { + $val = $this->getBackingStore()->get('twitterProfileWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'twitterProfileWebUrl'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('bio', $this->getBio()); + $writer->writeStringValue('company', $this->getCompany()); + $writer->writeStringValue('jobTitle', $this->getJobTitle()); + $writer->writeStringValue('linkedInProfileWebUrl', $this->getLinkedInProfileWebUrl()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('personalSiteWebUrl', $this->getPersonalSiteWebUrl()); + $writer->writeBinaryContent('photo', $this->getPhoto()); + $writer->writeStringValue('twitterProfileWebUrl', $this->getTwitterProfileWebUrl()); + $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 bio property value. Bio of the presenter. + * @param ItemBody|null $value Value to set for the bio property. + */ + public function setBio(?ItemBody $value): void { + $this->getBackingStore()->set('bio', $value); + } + + /** + * Sets the company property value. The presenter's company name. + * @param string|null $value Value to set for the company property. + */ + public function setCompany(?string $value): void { + $this->getBackingStore()->set('company', $value); + } + + /** + * Sets the jobTitle property value. The presenter's job title. + * @param string|null $value Value to set for the jobTitle property. + */ + public function setJobTitle(?string $value): void { + $this->getBackingStore()->set('jobTitle', $value); + } + + /** + * Sets the linkedInProfileWebUrl property value. The presenter's LinkedIn profile URL. + * @param string|null $value Value to set for the linkedInProfileWebUrl property. + */ + public function setLinkedInProfileWebUrl(?string $value): void { + $this->getBackingStore()->set('linkedInProfileWebUrl', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the personalSiteWebUrl property value. The presenter's personal website URL. + * @param string|null $value Value to set for the personalSiteWebUrl property. + */ + public function setPersonalSiteWebUrl(?string $value): void { + $this->getBackingStore()->set('personalSiteWebUrl', $value); + } + + /** + * Sets the photo property value. The content stream of the presenter's photo. + * @param StreamInterface|null $value Value to set for the photo property. + */ + public function setPhoto(?StreamInterface $value): void { + $this->getBackingStore()->set('photo', $value); + } + + /** + * Sets the twitterProfileWebUrl property value. The presenter's Twitter profile URL. + * @param string|null $value Value to set for the twitterProfileWebUrl property. + */ + public function setTwitterProfileWebUrl(?string $value): void { + $this->getBackingStore()->set('twitterProfileWebUrl', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventPresenterInfo.php b/src/Generated/Models/VirtualEventPresenterInfo.php new file mode 100644 index 00000000000..3f0dbe9bc9b --- /dev/null +++ b/src/Generated/Models/VirtualEventPresenterInfo.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.virtualEventPresenterInfo'); + } + + /** + * 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 VirtualEventPresenterInfo + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventPresenterInfo { + return new VirtualEventPresenterInfo(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'presenterDetails' => fn(ParseNode $n) => $o->setPresenterDetails($n->getObjectValue([VirtualEventPresenterDetails::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the presenterDetails property value. The presenterDetails property + * @return VirtualEventPresenterDetails|null + */ + public function getPresenterDetails(): ?VirtualEventPresenterDetails { + $val = $this->getBackingStore()->get('presenterDetails'); + if (is_null($val) || $val instanceof VirtualEventPresenterDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'presenterDetails'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('presenterDetails', $this->getPresenterDetails()); + } + + /** + * Sets the presenterDetails property value. The presenterDetails property + * @param VirtualEventPresenterDetails|null $value Value to set for the presenterDetails property. + */ + public function setPresenterDetails(?VirtualEventPresenterDetails $value): void { + $this->getBackingStore()->set('presenterDetails', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistration.php b/src/Generated/Models/VirtualEventRegistration.php index 4485745a843..f3b97a4a3b6 100644 --- a/src/Generated/Models/VirtualEventRegistration.php +++ b/src/Generated/Models/VirtualEventRegistration.php @@ -61,8 +61,11 @@ public function getFieldDeserializers(): array { 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), 'firstName' => fn(ParseNode $n) => $o->setFirstName($n->getStringValue()), 'lastName' => fn(ParseNode $n) => $o->setLastName($n->getStringValue()), + 'preferredLanguage' => fn(ParseNode $n) => $o->setPreferredLanguage($n->getStringValue()), + 'preferredTimezone' => fn(ParseNode $n) => $o->setPreferredTimezone($n->getStringValue()), 'registrationDateTime' => fn(ParseNode $n) => $o->setRegistrationDateTime($n->getDateTimeValue()), 'registrationQuestionAnswers' => fn(ParseNode $n) => $o->setRegistrationQuestionAnswers($n->getCollectionOfObjectValues([VirtualEventRegistrationQuestionAnswer::class, 'createFromDiscriminatorValue'])), + 'sessions' => fn(ParseNode $n) => $o->setSessions($n->getCollectionOfObjectValues([VirtualEventSession::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(VirtualEventAttendeeRegistrationStatus::class)), 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), ]); @@ -92,6 +95,30 @@ public function getLastName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'lastName'"); } + /** + * Gets the preferredLanguage property value. The registrant's preferred language. + * @return string|null + */ + public function getPreferredLanguage(): ?string { + $val = $this->getBackingStore()->get('preferredLanguage'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'preferredLanguage'"); + } + + /** + * Gets the preferredTimezone property value. The registrant's time zone details. + * @return string|null + */ + public function getPreferredTimezone(): ?string { + $val = $this->getBackingStore()->get('preferredTimezone'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'preferredTimezone'"); + } + /** * Gets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null @@ -119,7 +146,21 @@ public function getRegistrationQuestionAnswers(): ?array { } /** - * Gets the status property value. Registration status of the registrant. Read-only. + * Gets the sessions property value. Sessions for a registration. + * @return array|null + */ + public function getSessions(): ?array { + $val = $this->getBackingStore()->get('sessions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventSession::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sessions'"); + } + + /** + * Gets the status property value. Registration status of the registrant. Read-only. Possible values are registered, canceled, waitlisted, pendingApproval, rejectedByOrganizer, and unknownFutureValue. * @return VirtualEventAttendeeRegistrationStatus|null */ public function getStatus(): ?VirtualEventAttendeeRegistrationStatus { @@ -152,8 +193,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('email', $this->getEmail()); $writer->writeStringValue('firstName', $this->getFirstName()); $writer->writeStringValue('lastName', $this->getLastName()); + $writer->writeStringValue('preferredLanguage', $this->getPreferredLanguage()); + $writer->writeStringValue('preferredTimezone', $this->getPreferredTimezone()); $writer->writeDateTimeValue('registrationDateTime', $this->getRegistrationDateTime()); $writer->writeCollectionOfObjectValues('registrationQuestionAnswers', $this->getRegistrationQuestionAnswers()); + $writer->writeCollectionOfObjectValues('sessions', $this->getSessions()); $writer->writeEnumValue('status', $this->getStatus()); $writer->writeStringValue('userId', $this->getUserId()); } @@ -190,6 +234,22 @@ public function setLastName(?string $value): void { $this->getBackingStore()->set('lastName', $value); } + /** + * Sets the preferredLanguage property value. The registrant's preferred language. + * @param string|null $value Value to set for the preferredLanguage property. + */ + public function setPreferredLanguage(?string $value): void { + $this->getBackingStore()->set('preferredLanguage', $value); + } + + /** + * Sets the preferredTimezone property value. The registrant's time zone details. + * @param string|null $value Value to set for the preferredTimezone property. + */ + public function setPreferredTimezone(?string $value): void { + $this->getBackingStore()->set('preferredTimezone', $value); + } + /** * Sets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the registrationDateTime property. @@ -207,7 +267,15 @@ public function setRegistrationQuestionAnswers(?array $value): void { } /** - * Sets the status property value. Registration status of the registrant. Read-only. + * Sets the sessions property value. Sessions for a registration. + * @param array|null $value Value to set for the sessions property. + */ + public function setSessions(?array $value): void { + $this->getBackingStore()->set('sessions', $value); + } + + /** + * Sets the status property value. Registration status of the registrant. Read-only. Possible values are registered, canceled, waitlisted, pendingApproval, rejectedByOrganizer, and unknownFutureValue. * @param VirtualEventAttendeeRegistrationStatus|null $value Value to set for the status property. */ public function setStatus(?VirtualEventAttendeeRegistrationStatus $value): void { diff --git a/src/Generated/Models/VirtualEventRegistrationConfiguration.php b/src/Generated/Models/VirtualEventRegistrationConfiguration.php new file mode 100644 index 00000000000..42b6aba058a --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationConfiguration.php @@ -0,0 +1,121 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.virtualEventWebinarRegistrationConfiguration': return new VirtualEventWebinarRegistrationConfiguration(); + } + } + return new VirtualEventRegistrationConfiguration(); + } + + /** + * Gets the capacity property value. Total capacity of the virtual event. + * @return int|null + */ + public function getCapacity(): ?int { + $val = $this->getBackingStore()->get('capacity'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'capacity'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'capacity' => fn(ParseNode $n) => $o->setCapacity($n->getIntegerValue()), + 'questions' => fn(ParseNode $n) => $o->setQuestions($n->getCollectionOfObjectValues([VirtualEventRegistrationQuestionBase::class, 'createFromDiscriminatorValue'])), + 'registrationWebUrl' => fn(ParseNode $n) => $o->setRegistrationWebUrl($n->getStringValue()), + ]); + } + + /** + * Gets the questions property value. Registration questions. + * @return array|null + */ + public function getQuestions(): ?array { + $val = $this->getBackingStore()->get('questions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventRegistrationQuestionBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'questions'"); + } + + /** + * Gets the registrationWebUrl property value. Registration URL of the virtual event. + * @return string|null + */ + public function getRegistrationWebUrl(): ?string { + $val = $this->getBackingStore()->get('registrationWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registrationWebUrl'"); + } + + /** + * 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->writeIntegerValue('capacity', $this->getCapacity()); + $writer->writeCollectionOfObjectValues('questions', $this->getQuestions()); + $writer->writeStringValue('registrationWebUrl', $this->getRegistrationWebUrl()); + } + + /** + * Sets the capacity property value. Total capacity of the virtual event. + * @param int|null $value Value to set for the capacity property. + */ + public function setCapacity(?int $value): void { + $this->getBackingStore()->set('capacity', $value); + } + + /** + * Sets the questions property value. Registration questions. + * @param array|null $value Value to set for the questions property. + */ + public function setQuestions(?array $value): void { + $this->getBackingStore()->set('questions', $value); + } + + /** + * Sets the registrationWebUrl property value. Registration URL of the virtual event. + * @param string|null $value Value to set for the registrationWebUrl property. + */ + public function setRegistrationWebUrl(?string $value): void { + $this->getBackingStore()->set('registrationWebUrl', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistrationCustomQuestion.php b/src/Generated/Models/VirtualEventRegistrationCustomQuestion.php new file mode 100644 index 00000000000..f10bca956e7 --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationCustomQuestion.php @@ -0,0 +1,100 @@ +setOdataType('#microsoft.graph.virtualEventRegistrationCustomQuestion'); + } + + /** + * 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 VirtualEventRegistrationCustomQuestion + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventRegistrationCustomQuestion { + return new VirtualEventRegistrationCustomQuestion(); + } + + /** + * Gets the answerChoices property value. Answer choices when answerInputType is singleChoice or multiChoice. + * @return array|null + */ + public function getAnswerChoices(): ?array { + $val = $this->getBackingStore()->get('answerChoices'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'answerChoices'"); + } + + /** + * Gets the answerInputType property value. Input type of the registration question answer. Possible values are text, multilineText, singleChoice, multiChoice, boolean, and unknownFutureValue. + * @return VirtualEventRegistrationQuestionAnswerInputType|null + */ + public function getAnswerInputType(): ?VirtualEventRegistrationQuestionAnswerInputType { + $val = $this->getBackingStore()->get('answerInputType'); + if (is_null($val) || $val instanceof VirtualEventRegistrationQuestionAnswerInputType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'answerInputType'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'answerChoices' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAnswerChoices($val); + }, + 'answerInputType' => fn(ParseNode $n) => $o->setAnswerInputType($n->getEnumValue(VirtualEventRegistrationQuestionAnswerInputType::class)), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfPrimitiveValues('answerChoices', $this->getAnswerChoices()); + $writer->writeEnumValue('answerInputType', $this->getAnswerInputType()); + } + + /** + * Sets the answerChoices property value. Answer choices when answerInputType is singleChoice or multiChoice. + * @param array|null $value Value to set for the answerChoices property. + */ + public function setAnswerChoices(?array $value): void { + $this->getBackingStore()->set('answerChoices', $value); + } + + /** + * Sets the answerInputType property value. Input type of the registration question answer. Possible values are text, multilineText, singleChoice, multiChoice, boolean, and unknownFutureValue. + * @param VirtualEventRegistrationQuestionAnswerInputType|null $value Value to set for the answerInputType property. + */ + public function setAnswerInputType(?VirtualEventRegistrationQuestionAnswerInputType $value): void { + $this->getBackingStore()->set('answerInputType', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistrationPredefinedQuestion.php b/src/Generated/Models/VirtualEventRegistrationPredefinedQuestion.php new file mode 100644 index 00000000000..7723561b389 --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationPredefinedQuestion.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.virtualEventRegistrationPredefinedQuestion'); + } + + /** + * 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 VirtualEventRegistrationPredefinedQuestion + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventRegistrationPredefinedQuestion { + return new VirtualEventRegistrationPredefinedQuestion(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'label' => fn(ParseNode $n) => $o->setLabel($n->getEnumValue(VirtualEventRegistrationPredefinedQuestionLabel::class)), + ]); + } + + /** + * Gets the label property value. Label of the predefined registration question. It accepts a single line of text: street, city, state, postalCode, countryOrRegion, industry, jobTitle, organization, and unknownFutureValue. + * @return VirtualEventRegistrationPredefinedQuestionLabel|null + */ + public function getLabel(): ?VirtualEventRegistrationPredefinedQuestionLabel { + $val = $this->getBackingStore()->get('label'); + if (is_null($val) || $val instanceof VirtualEventRegistrationPredefinedQuestionLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'label'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('label', $this->getLabel()); + } + + /** + * Sets the label property value. Label of the predefined registration question. It accepts a single line of text: street, city, state, postalCode, countryOrRegion, industry, jobTitle, organization, and unknownFutureValue. + * @param VirtualEventRegistrationPredefinedQuestionLabel|null $value Value to set for the label property. + */ + public function setLabel(?VirtualEventRegistrationPredefinedQuestionLabel $value): void { + $this->getBackingStore()->set('label', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistrationPredefinedQuestionLabel.php b/src/Generated/Models/VirtualEventRegistrationPredefinedQuestionLabel.php new file mode 100644 index 00000000000..f4022611a4a --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationPredefinedQuestionLabel.php @@ -0,0 +1,17 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.virtualEventRegistrationCustomQuestion': return new VirtualEventRegistrationCustomQuestion(); + case '#microsoft.graph.virtualEventRegistrationPredefinedQuestion': return new VirtualEventRegistrationPredefinedQuestion(); + } + } + return new VirtualEventRegistrationQuestionBase(); + } + + /** + * Gets the displayName property value. Display name of the registration question. + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'isRequired' => fn(ParseNode $n) => $o->setIsRequired($n->getBooleanValue()), + ]); + } + + /** + * Gets the isRequired property value. Indicates whether an answer to the question is required. The default value is false. + * @return bool|null + */ + public function getIsRequired(): ?bool { + $val = $this->getBackingStore()->get('isRequired'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isRequired'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeBooleanValue('isRequired', $this->getIsRequired()); + } + + /** + * Sets the displayName property value. Display name of the registration question. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the isRequired property value. Indicates whether an answer to the question is required. The default value is false. + * @param bool|null $value Value to set for the isRequired property. + */ + public function setIsRequired(?bool $value): void { + $this->getBackingStore()->set('isRequired', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenGetResponse.php b/src/Generated/Models/VirtualEventRegistrationQuestionBaseCollectionResponse.php similarity index 65% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenGetResponse.php rename to src/Generated/Models/VirtualEventRegistrationQuestionBaseCollectionResponse.php index 9fcafaaeee3..208dd62fe10 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenGetResponse.php +++ b/src/Generated/Models/VirtualEventRegistrationQuestionBaseCollectionResponse.php @@ -1,18 +1,16 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ListItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventRegistrationQuestionBase::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ListItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, VirtualEventRegistrationQuestionBase::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/VirtualEventTownhall.php b/src/Generated/Models/VirtualEventTownhall.php new file mode 100644 index 00000000000..9ab72fb4648 --- /dev/null +++ b/src/Generated/Models/VirtualEventTownhall.php @@ -0,0 +1,139 @@ +setOdataType('#microsoft.graph.virtualEventTownhall'); + } + + /** + * 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 VirtualEventTownhall + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventTownhall { + return new VirtualEventTownhall(); + } + + /** + * Gets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue. + * @return MeetingAudience|null + */ + public function getAudience(): ?MeetingAudience { + $val = $this->getBackingStore()->get('audience'); + if (is_null($val) || $val instanceof MeetingAudience) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'audience'"); + } + + /** + * Gets the coOrganizers property value. Identity information of the coorganizers of the town hall. + * @return array|null + */ + public function getCoOrganizers(): ?array { + $val = $this->getBackingStore()->get('coOrganizers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CommunicationsUserIdentity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'coOrganizers'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'audience' => fn(ParseNode $n) => $o->setAudience($n->getEnumValue(MeetingAudience::class)), + 'coOrganizers' => fn(ParseNode $n) => $o->setCoOrganizers($n->getCollectionOfObjectValues([CommunicationsUserIdentity::class, 'createFromDiscriminatorValue'])), + 'invitedAttendees' => fn(ParseNode $n) => $o->setInvitedAttendees($n->getCollectionOfObjectValues([Identity::class, 'createFromDiscriminatorValue'])), + 'isInviteOnly' => fn(ParseNode $n) => $o->setIsInviteOnly($n->getBooleanValue()), + ]); + } + + /** + * Gets the invitedAttendees property value. The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity. + * @return array|null + */ + public function getInvitedAttendees(): ?array { + $val = $this->getBackingStore()->get('invitedAttendees'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Identity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'invitedAttendees'"); + } + + /** + * Gets the isInviteOnly property value. Indicates whether the town hall is only open to invited people and groups within your organization. The isInviteOnly property can only be true if the value of the audience property is set to organization. + * @return bool|null + */ + public function getIsInviteOnly(): ?bool { + $val = $this->getBackingStore()->get('isInviteOnly'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isInviteOnly'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('audience', $this->getAudience()); + $writer->writeCollectionOfObjectValues('coOrganizers', $this->getCoOrganizers()); + $writer->writeCollectionOfObjectValues('invitedAttendees', $this->getInvitedAttendees()); + $writer->writeBooleanValue('isInviteOnly', $this->getIsInviteOnly()); + } + + /** + * Sets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue. + * @param MeetingAudience|null $value Value to set for the audience property. + */ + public function setAudience(?MeetingAudience $value): void { + $this->getBackingStore()->set('audience', $value); + } + + /** + * Sets the coOrganizers property value. Identity information of the coorganizers of the town hall. + * @param array|null $value Value to set for the coOrganizers property. + */ + public function setCoOrganizers(?array $value): void { + $this->getBackingStore()->set('coOrganizers', $value); + } + + /** + * Sets the invitedAttendees property value. The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity. + * @param array|null $value Value to set for the invitedAttendees property. + */ + public function setInvitedAttendees(?array $value): void { + $this->getBackingStore()->set('invitedAttendees', $value); + } + + /** + * Sets the isInviteOnly property value. Indicates whether the town hall is only open to invited people and groups within your organization. The isInviteOnly property can only be true if the value of the audience property is set to organization. + * @param bool|null $value Value to set for the isInviteOnly property. + */ + public function setIsInviteOnly(?bool $value): void { + $this->getBackingStore()->set('isInviteOnly', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaGetResponse.php b/src/Generated/Models/VirtualEventTownhallCollectionResponse.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaGetResponse.php rename to src/Generated/Models/VirtualEventTownhallCollectionResponse.php index b11c004fb46..08247719f2c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaGetResponse.php +++ b/src/Generated/Models/VirtualEventTownhallCollectionResponse.php @@ -1,18 +1,16 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventTownhall::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, VirtualEventTownhall::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/VirtualEventWebinar.php b/src/Generated/Models/VirtualEventWebinar.php index 97165be58f8..964122148e1 100644 --- a/src/Generated/Models/VirtualEventWebinar.php +++ b/src/Generated/Models/VirtualEventWebinar.php @@ -14,6 +14,7 @@ class VirtualEventWebinar extends VirtualEvent implements Parsable */ public function __construct() { parent::__construct(); + $this->setOdataType('#microsoft.graph.virtualEventWebinar'); } /** @@ -26,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Virtu } /** - * Gets the audience property value. To whom the webinar is visible. + * Gets the audience property value. To whom the webinar is visible. Possible values are: everyone, organization, and unknownFutureValue. * @return MeetingAudience|null */ public function getAudience(): ?MeetingAudience { @@ -60,10 +61,23 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'audience' => fn(ParseNode $n) => $o->setAudience($n->getEnumValue(MeetingAudience::class)), 'coOrganizers' => fn(ParseNode $n) => $o->setCoOrganizers($n->getCollectionOfObjectValues([CommunicationsUserIdentity::class, 'createFromDiscriminatorValue'])), + 'registrationConfiguration' => fn(ParseNode $n) => $o->setRegistrationConfiguration($n->getObjectValue([VirtualEventWebinarRegistrationConfiguration::class, 'createFromDiscriminatorValue'])), 'registrations' => fn(ParseNode $n) => $o->setRegistrations($n->getCollectionOfObjectValues([VirtualEventRegistration::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the registrationConfiguration property value. Registration configuration of the webinar. + * @return VirtualEventWebinarRegistrationConfiguration|null + */ + public function getRegistrationConfiguration(): ?VirtualEventWebinarRegistrationConfiguration { + $val = $this->getBackingStore()->get('registrationConfiguration'); + if (is_null($val) || $val instanceof VirtualEventWebinarRegistrationConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registrationConfiguration'"); + } + /** * Gets the registrations property value. Registration records of the webinar. * @return array|null @@ -86,11 +100,12 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeEnumValue('audience', $this->getAudience()); $writer->writeCollectionOfObjectValues('coOrganizers', $this->getCoOrganizers()); + $writer->writeObjectValue('registrationConfiguration', $this->getRegistrationConfiguration()); $writer->writeCollectionOfObjectValues('registrations', $this->getRegistrations()); } /** - * Sets the audience property value. To whom the webinar is visible. + * Sets the audience property value. To whom the webinar is visible. Possible values are: everyone, organization, and unknownFutureValue. * @param MeetingAudience|null $value Value to set for the audience property. */ public function setAudience(?MeetingAudience $value): void { @@ -105,6 +120,14 @@ public function setCoOrganizers(?array $value): void { $this->getBackingStore()->set('coOrganizers', $value); } + /** + * Sets the registrationConfiguration property value. Registration configuration of the webinar. + * @param VirtualEventWebinarRegistrationConfiguration|null $value Value to set for the registrationConfiguration property. + */ + public function setRegistrationConfiguration(?VirtualEventWebinarRegistrationConfiguration $value): void { + $this->getBackingStore()->set('registrationConfiguration', $value); + } + /** * Sets the registrations property value. Registration records of the webinar. * @param array|null $value Value to set for the registrations property. diff --git a/src/Generated/Models/VirtualEventWebinarRegistrationConfiguration.php b/src/Generated/Models/VirtualEventWebinarRegistrationConfiguration.php new file mode 100644 index 00000000000..7fcdba10495 --- /dev/null +++ b/src/Generated/Models/VirtualEventWebinarRegistrationConfiguration.php @@ -0,0 +1,89 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isManualApprovalEnabled' => fn(ParseNode $n) => $o->setIsManualApprovalEnabled($n->getBooleanValue()), + 'isWaitlistEnabled' => fn(ParseNode $n) => $o->setIsWaitlistEnabled($n->getBooleanValue()), + ]); + } + + /** + * Gets the isManualApprovalEnabled property value. The isManualApprovalEnabled property + * @return bool|null + */ + public function getIsManualApprovalEnabled(): ?bool { + $val = $this->getBackingStore()->get('isManualApprovalEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isManualApprovalEnabled'"); + } + + /** + * Gets the isWaitlistEnabled property value. The isWaitlistEnabled property + * @return bool|null + */ + public function getIsWaitlistEnabled(): ?bool { + $val = $this->getBackingStore()->get('isWaitlistEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isWaitlistEnabled'"); + } + + /** + * 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('isManualApprovalEnabled', $this->getIsManualApprovalEnabled()); + $writer->writeBooleanValue('isWaitlistEnabled', $this->getIsWaitlistEnabled()); + } + + /** + * Sets the isManualApprovalEnabled property value. The isManualApprovalEnabled property + * @param bool|null $value Value to set for the isManualApprovalEnabled property. + */ + public function setIsManualApprovalEnabled(?bool $value): void { + $this->getBackingStore()->set('isManualApprovalEnabled', $value); + } + + /** + * Sets the isWaitlistEnabled property value. The isWaitlistEnabled property + * @param bool|null $value Value to set for the isWaitlistEnabled property. + */ + public function setIsWaitlistEnabled(?bool $value): void { + $this->getBackingStore()->set('isWaitlistEnabled', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventsRoot.php b/src/Generated/Models/VirtualEventsRoot.php index e09e6c6bbcc..21cade82ac9 100644 --- a/src/Generated/Models/VirtualEventsRoot.php +++ b/src/Generated/Models/VirtualEventsRoot.php @@ -47,12 +47,27 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'events' => fn(ParseNode $n) => $o->setEvents($n->getCollectionOfObjectValues([VirtualEvent::class, 'createFromDiscriminatorValue'])), + 'townhalls' => fn(ParseNode $n) => $o->setTownhalls($n->getCollectionOfObjectValues([VirtualEventTownhall::class, 'createFromDiscriminatorValue'])), 'webinars' => fn(ParseNode $n) => $o->setWebinars($n->getCollectionOfObjectValues([VirtualEventWebinar::class, 'createFromDiscriminatorValue'])), ]); } /** - * Gets the webinars property value. The webinars property + * Gets the townhalls property value. A collection of town halls. Nullable. + * @return array|null + */ + public function getTownhalls(): ?array { + $val = $this->getBackingStore()->get('townhalls'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventTownhall::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'townhalls'"); + } + + /** + * Gets the webinars property value. A collection of webinars. Nullable. * @return array|null */ public function getWebinars(): ?array { @@ -72,6 +87,7 @@ public function getWebinars(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('events', $this->getEvents()); + $writer->writeCollectionOfObjectValues('townhalls', $this->getTownhalls()); $writer->writeCollectionOfObjectValues('webinars', $this->getWebinars()); } @@ -84,7 +100,15 @@ public function setEvents(?array $value): void { } /** - * Sets the webinars property value. The webinars property + * Sets the townhalls property value. A collection of town halls. Nullable. + * @param array|null $value Value to set for the townhalls property. + */ + public function setTownhalls(?array $value): void { + $this->getBackingStore()->set('townhalls', $value); + } + + /** + * Sets the webinars property value. A collection of webinars. Nullable. * @param array|null $value Value to set for the webinars property. */ public function setWebinars(?array $value): void { diff --git a/src/Generated/Models/WorkbookChartAxisTitle.php b/src/Generated/Models/WorkbookChartAxisTitle.php index 8eb5cc396b8..deec7969d07 100644 --- a/src/Generated/Models/WorkbookChartAxisTitle.php +++ b/src/Generated/Models/WorkbookChartAxisTitle.php @@ -62,7 +62,7 @@ public function getText(): ?string { } /** - * Gets the visible property value. A boolean that specifies the visibility of an axis title. + * Gets the visible property value. A Boolean that specifies the visibility of an axis title. * @return bool|null */ public function getVisible(): ?bool { @@ -101,7 +101,7 @@ public function setText(?string $value): void { } /** - * Sets the visible property value. A boolean that specifies the visibility of an axis title. + * Sets the visible property value. A Boolean that specifies the visibility of an axis title. * @param bool|null $value Value to set for the visible property. */ public function setVisible(?bool $value): void { diff --git a/src/Generated/Models/WorkbookChartDataLabels.php b/src/Generated/Models/WorkbookChartDataLabels.php index 4d68f9237d9..ab76d94de99 100644 --- a/src/Generated/Models/WorkbookChartDataLabels.php +++ b/src/Generated/Models/WorkbookChartDataLabels.php @@ -68,7 +68,7 @@ public function getPosition(): ?string { } /** - * Gets the separator property value. String representing the separator used for the data labels on a chart. + * Gets the separator property value. String that represents the separator used for the data labels on a chart. * @return string|null */ public function getSeparator(): ?string { @@ -80,7 +80,7 @@ public function getSeparator(): ?string { } /** - * Gets the showBubbleSize property value. Boolean value representing if the data label bubble size is visible or not. + * Gets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible. * @return bool|null */ public function getShowBubbleSize(): ?bool { @@ -92,7 +92,7 @@ public function getShowBubbleSize(): ?bool { } /** - * Gets the showCategoryName property value. Boolean value representing if the data label category name is visible or not. + * Gets the showCategoryName property value. Boolean value that represents whether the data label category name is visible. * @return bool|null */ public function getShowCategoryName(): ?bool { @@ -104,7 +104,7 @@ public function getShowCategoryName(): ?bool { } /** - * Gets the showLegendKey property value. Boolean value representing if the data label legend key is visible or not. + * Gets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible. * @return bool|null */ public function getShowLegendKey(): ?bool { @@ -116,7 +116,7 @@ public function getShowLegendKey(): ?bool { } /** - * Gets the showPercentage property value. Boolean value representing if the data label percentage is visible or not. + * Gets the showPercentage property value. Boolean value that represents whether the data label percentage is visible. * @return bool|null */ public function getShowPercentage(): ?bool { @@ -128,7 +128,7 @@ public function getShowPercentage(): ?bool { } /** - * Gets the showSeriesName property value. Boolean value representing if the data label series name is visible or not. + * Gets the showSeriesName property value. Boolean value that represents whether the data label series name is visible. * @return bool|null */ public function getShowSeriesName(): ?bool { @@ -140,7 +140,7 @@ public function getShowSeriesName(): ?bool { } /** - * Gets the showValue property value. Boolean value representing if the data label value is visible or not. + * Gets the showValue property value. Boolean value that represents whether the data label value is visible. * @return bool|null */ public function getShowValue(): ?bool { @@ -185,7 +185,7 @@ public function setPosition(?string $value): void { } /** - * Sets the separator property value. String representing the separator used for the data labels on a chart. + * Sets the separator property value. String that represents the separator used for the data labels on a chart. * @param string|null $value Value to set for the separator property. */ public function setSeparator(?string $value): void { @@ -193,7 +193,7 @@ public function setSeparator(?string $value): void { } /** - * Sets the showBubbleSize property value. Boolean value representing if the data label bubble size is visible or not. + * Sets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible. * @param bool|null $value Value to set for the showBubbleSize property. */ public function setShowBubbleSize(?bool $value): void { @@ -201,7 +201,7 @@ public function setShowBubbleSize(?bool $value): void { } /** - * Sets the showCategoryName property value. Boolean value representing if the data label category name is visible or not. + * Sets the showCategoryName property value. Boolean value that represents whether the data label category name is visible. * @param bool|null $value Value to set for the showCategoryName property. */ public function setShowCategoryName(?bool $value): void { @@ -209,7 +209,7 @@ public function setShowCategoryName(?bool $value): void { } /** - * Sets the showLegendKey property value. Boolean value representing if the data label legend key is visible or not. + * Sets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible. * @param bool|null $value Value to set for the showLegendKey property. */ public function setShowLegendKey(?bool $value): void { @@ -217,7 +217,7 @@ public function setShowLegendKey(?bool $value): void { } /** - * Sets the showPercentage property value. Boolean value representing if the data label percentage is visible or not. + * Sets the showPercentage property value. Boolean value that represents whether the data label percentage is visible. * @param bool|null $value Value to set for the showPercentage property. */ public function setShowPercentage(?bool $value): void { @@ -225,7 +225,7 @@ public function setShowPercentage(?bool $value): void { } /** - * Sets the showSeriesName property value. Boolean value representing if the data label series name is visible or not. + * Sets the showSeriesName property value. Boolean value that represents whether the data label series name is visible. * @param bool|null $value Value to set for the showSeriesName property. */ public function setShowSeriesName(?bool $value): void { @@ -233,7 +233,7 @@ public function setShowSeriesName(?bool $value): void { } /** - * Sets the showValue property value. Boolean value representing if the data label value is visible or not. + * Sets the showValue property value. Boolean value that represents whether the data label value is visible. * @param bool|null $value Value to set for the showValue property. */ public function setShowValue(?bool $value): void { diff --git a/src/Generated/Models/WorkbookChartFont.php b/src/Generated/Models/WorkbookChartFont.php index 9027f4a61ea..bd2e8a18447 100644 --- a/src/Generated/Models/WorkbookChartFont.php +++ b/src/Generated/Models/WorkbookChartFont.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the bold property value. Represents the bold status of font. + * Gets the bold property value. Indicates whether the fond is bold. * @return bool|null */ public function getBold(): ?bool { @@ -37,7 +37,7 @@ public function getBold(): ?bool { } /** - * Gets the color property value. HTML color code representation of the text color. for example #FF0000 represents Red. + * Gets the color property value. The HTML color code representation of the text color. For example #FF0000 represents Red. * @return string|null */ public function getColor(): ?string { @@ -65,7 +65,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the italic property value. Represents the italic status of the font. + * Gets the italic property value. Indicates whether the fond is italic. * @return bool|null */ public function getItalic(): ?bool { @@ -77,7 +77,7 @@ public function getItalic(): ?bool { } /** - * Gets the name property value. Font name (for example 'Calibri') + * Gets the name property value. The font name. For example 'Calibri'. * @return string|null */ public function getName(): ?string { @@ -89,7 +89,7 @@ public function getName(): ?string { } /** - * Gets the size property value. Size of the font (for example 11) + * Gets the size property value. The size of the font. For example, 11. * @return float|null */ public function getSize(): ?float { @@ -101,7 +101,7 @@ public function getSize(): ?float { } /** - * Gets the underline property value. Type of underline applied to the font. The possible values are: None, Single. + * Gets the underline property value. The type of underlining applied to the font. The possible values are: None, Single. * @return string|null */ public function getUnderline(): ?string { @@ -127,7 +127,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the bold property value. Represents the bold status of font. + * Sets the bold property value. Indicates whether the fond is bold. * @param bool|null $value Value to set for the bold property. */ public function setBold(?bool $value): void { @@ -135,7 +135,7 @@ public function setBold(?bool $value): void { } /** - * Sets the color property value. HTML color code representation of the text color. for example #FF0000 represents Red. + * Sets the color property value. The HTML color code representation of the text color. For example #FF0000 represents Red. * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { @@ -143,7 +143,7 @@ public function setColor(?string $value): void { } /** - * Sets the italic property value. Represents the italic status of the font. + * Sets the italic property value. Indicates whether the fond is italic. * @param bool|null $value Value to set for the italic property. */ public function setItalic(?bool $value): void { @@ -151,7 +151,7 @@ public function setItalic(?bool $value): void { } /** - * Sets the name property value. Font name (for example 'Calibri') + * Sets the name property value. The font name. For example 'Calibri'. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -159,7 +159,7 @@ public function setName(?string $value): void { } /** - * Sets the size property value. Size of the font (for example 11) + * Sets the size property value. The size of the font. For example, 11. * @param float|null $value Value to set for the size property. */ public function setSize(?float $value): void { @@ -167,7 +167,7 @@ public function setSize(?float $value): void { } /** - * Sets the underline property value. Type of underline applied to the font. The possible values are: None, Single. + * Sets the underline property value. The type of underlining applied to the font. The possible values are: None, Single. * @param string|null $value Value to set for the underline property. */ public function setUnderline(?string $value): void { diff --git a/src/Generated/Models/WorkbookChartGridlines.php b/src/Generated/Models/WorkbookChartGridlines.php index dd36b03c62b..6439bc43a34 100644 --- a/src/Generated/Models/WorkbookChartGridlines.php +++ b/src/Generated/Models/WorkbookChartGridlines.php @@ -49,7 +49,7 @@ public function getFormat(): ?WorkbookChartGridlinesFormat { } /** - * Gets the visible property value. Boolean value representing if the axis gridlines are visible or not. + * Gets the visible property value. Indicates whether the axis gridlines are visible. * @return bool|null */ public function getVisible(): ?bool { @@ -79,7 +79,7 @@ public function setFormat(?WorkbookChartGridlinesFormat $value): void { } /** - * Sets the visible property value. Boolean value representing if the axis gridlines are visible or not. + * Sets the visible property value. Indicates whether the axis gridlines are visible. * @param bool|null $value Value to set for the visible property. */ public function setVisible(?bool $value): void { diff --git a/src/Generated/Models/WorkbookChartLegend.php b/src/Generated/Models/WorkbookChartLegend.php index dec38428e44..9d35e3a195e 100644 --- a/src/Generated/Models/WorkbookChartLegend.php +++ b/src/Generated/Models/WorkbookChartLegend.php @@ -51,7 +51,7 @@ public function getFormat(): ?WorkbookChartLegendFormat { } /** - * Gets the overlay property value. Boolean value for whether the chart legend should overlap with the main body of the chart. + * Gets the overlay property value. Indicates whether the chart legend should overlap with the main body of the chart. * @return bool|null */ public function getOverlay(): ?bool { @@ -75,7 +75,7 @@ public function getPosition(): ?string { } /** - * Gets the visible property value. A boolean value the represents the visibility of a ChartLegend object. + * Gets the visible property value. Indicates whether the chart legend is visible. * @return bool|null */ public function getVisible(): ?bool { @@ -107,7 +107,7 @@ public function setFormat(?WorkbookChartLegendFormat $value): void { } /** - * Sets the overlay property value. Boolean value for whether the chart legend should overlap with the main body of the chart. + * Sets the overlay property value. Indicates whether the chart legend should overlap with the main body of the chart. * @param bool|null $value Value to set for the overlay property. */ public function setOverlay(?bool $value): void { @@ -123,7 +123,7 @@ public function setPosition(?string $value): void { } /** - * Sets the visible property value. A boolean value the represents the visibility of a ChartLegend object. + * Sets the visible property value. Indicates whether the chart legend is visible. * @param bool|null $value Value to set for the visible property. */ public function setVisible(?bool $value): void { diff --git a/src/Generated/Models/WorkbookChartLineFormat.php b/src/Generated/Models/WorkbookChartLineFormat.php index 05b0e284836..277b00cd718 100644 --- a/src/Generated/Models/WorkbookChartLineFormat.php +++ b/src/Generated/Models/WorkbookChartLineFormat.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the color property value. HTML color code representing the color of lines in the chart. + * Gets the color property value. The HTML color code that represents the color of lines in the chart. * @return string|null */ public function getColor(): ?string { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the color property value. HTML color code representing the color of lines in the chart. + * Sets the color property value. The HTML color code that represents the color of lines in the chart. * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { diff --git a/src/Generated/Models/WorkbookChartPoint.php b/src/Generated/Models/WorkbookChartPoint.php index 550bf1288a2..30c9793b6d9 100644 --- a/src/Generated/Models/WorkbookChartPoint.php +++ b/src/Generated/Models/WorkbookChartPoint.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the format property value. Encapsulates the format properties chart point. Read-only. + * Gets the format property value. The format properties of the chart point. Read-only. * @return WorkbookChartPointFormat|null */ public function getFormat(): ?WorkbookChartPointFormat { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the format property value. Encapsulates the format properties chart point. Read-only. + * Sets the format property value. The format properties of the chart point. Read-only. * @param WorkbookChartPointFormat|null $value Value to set for the format property. */ public function setFormat(?WorkbookChartPointFormat $value): void { diff --git a/src/Generated/Models/WorkbookChartSeries.php b/src/Generated/Models/WorkbookChartSeries.php index 461b2732616..08ef761146b 100644 --- a/src/Generated/Models/WorkbookChartSeries.php +++ b/src/Generated/Models/WorkbookChartSeries.php @@ -39,7 +39,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the format property value. Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * Gets the format property value. The formatting of a chart series, which includes fill and line formatting. Read-only. * @return WorkbookChartSeriesFormat|null */ public function getFormat(): ?WorkbookChartSeriesFormat { @@ -51,7 +51,7 @@ public function getFormat(): ?WorkbookChartSeriesFormat { } /** - * Gets the name property value. Represents the name of a series in a chart. + * Gets the name property value. The name of a series in a chart. * @return string|null */ public function getName(): ?string { @@ -63,7 +63,7 @@ public function getName(): ?string { } /** - * Gets the points property value. Represents a collection of all points in the series. Read-only. + * Gets the points property value. A collection of all points in the series. Read-only. * @return array|null */ public function getPoints(): ?array { @@ -88,7 +88,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the format property value. Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * Sets the format property value. The formatting of a chart series, which includes fill and line formatting. Read-only. * @param WorkbookChartSeriesFormat|null $value Value to set for the format property. */ public function setFormat(?WorkbookChartSeriesFormat $value): void { @@ -96,7 +96,7 @@ public function setFormat(?WorkbookChartSeriesFormat $value): void { } /** - * Sets the name property value. Represents the name of a series in a chart. + * Sets the name property value. The name of a series in a chart. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -104,7 +104,7 @@ public function setName(?string $value): void { } /** - * Sets the points property value. Represents a collection of all points in the series. Read-only. + * Sets the points property value. A collection of all points in the series. Read-only. * @param array|null $value Value to set for the points property. */ public function setPoints(?array $value): void { diff --git a/src/Generated/Models/WorkbookChartTitle.php b/src/Generated/Models/WorkbookChartTitle.php index 17cb0021205..6a1cabc8512 100644 --- a/src/Generated/Models/WorkbookChartTitle.php +++ b/src/Generated/Models/WorkbookChartTitle.php @@ -39,7 +39,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the format property value. Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * Gets the format property value. The formatting of a chart title, which includes fill and font formatting. Read-only. * @return WorkbookChartTitleFormat|null */ public function getFormat(): ?WorkbookChartTitleFormat { @@ -51,7 +51,7 @@ public function getFormat(): ?WorkbookChartTitleFormat { } /** - * Gets the overlay property value. Boolean value representing if the chart title will overlay the chart or not. + * Gets the overlay property value. Indicates whether the chart title will overlay the chart or not. * @return bool|null */ public function getOverlay(): ?bool { @@ -63,7 +63,7 @@ public function getOverlay(): ?bool { } /** - * Gets the text property value. Represents the title text of a chart. + * Gets the text property value. The title text of the chart. * @return string|null */ public function getText(): ?string { @@ -75,7 +75,7 @@ public function getText(): ?string { } /** - * Gets the visible property value. A boolean value that represents the visibility of a chart title object. + * Gets the visible property value. Indicates whether the chart title is visible. * @return bool|null */ public function getVisible(): ?bool { @@ -99,7 +99,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the format property value. Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * Sets the format property value. The formatting of a chart title, which includes fill and font formatting. Read-only. * @param WorkbookChartTitleFormat|null $value Value to set for the format property. */ public function setFormat(?WorkbookChartTitleFormat $value): void { @@ -107,7 +107,7 @@ public function setFormat(?WorkbookChartTitleFormat $value): void { } /** - * Sets the overlay property value. Boolean value representing if the chart title will overlay the chart or not. + * Sets the overlay property value. Indicates whether the chart title will overlay the chart or not. * @param bool|null $value Value to set for the overlay property. */ public function setOverlay(?bool $value): void { @@ -115,7 +115,7 @@ public function setOverlay(?bool $value): void { } /** - * Sets the text property value. Represents the title text of a chart. + * Sets the text property value. The title text of the chart. * @param string|null $value Value to set for the text property. */ public function setText(?string $value): void { @@ -123,7 +123,7 @@ public function setText(?string $value): void { } /** - * Sets the visible property value. A boolean value that represents the visibility of a chart title object. + * Sets the visible property value. Indicates whether the chart title is visible. * @param bool|null $value Value to set for the visible property. */ public function setVisible(?bool $value): void { diff --git a/src/Generated/Models/WorkbookComment.php b/src/Generated/Models/WorkbookComment.php index ad77791fa35..9291e0a6c76 100644 --- a/src/Generated/Models/WorkbookComment.php +++ b/src/Generated/Models/WorkbookComment.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the content property value. The content of comment. + * Gets the content property value. The content of the comment. * @return string|null */ public function getContent(): ?string { @@ -38,7 +38,7 @@ public function getContent(): ?string { } /** - * Gets the contentType property value. Indicates the type for the comment. + * Gets the contentType property value. The content type of the comment. * @return string|null */ public function getContentType(): ?string { @@ -63,7 +63,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the replies property value. The replies property + * Gets the replies property value. The list of replies to the comment. Read-only. Nullable. * @return array|null */ public function getReplies(): ?array { @@ -88,7 +88,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the content property value. The content of comment. + * Sets the content property value. The content of the comment. * @param string|null $value Value to set for the content property. */ public function setContent(?string $value): void { @@ -96,7 +96,7 @@ public function setContent(?string $value): void { } /** - * Sets the contentType property value. Indicates the type for the comment. + * Sets the contentType property value. The content type of the comment. * @param string|null $value Value to set for the contentType property. */ public function setContentType(?string $value): void { @@ -104,7 +104,7 @@ public function setContentType(?string $value): void { } /** - * Sets the replies property value. The replies property + * Sets the replies property value. The list of replies to the comment. Read-only. Nullable. * @param array|null $value Value to set for the replies property. */ public function setReplies(?array $value): void { diff --git a/src/Generated/Models/WorkbookCommentReply.php b/src/Generated/Models/WorkbookCommentReply.php index 4fe8871870e..2fee7aa5f05 100644 --- a/src/Generated/Models/WorkbookCommentReply.php +++ b/src/Generated/Models/WorkbookCommentReply.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the content property value. The content of a comment reply. + * Gets the content property value. The content of the reply. * @return string|null */ public function getContent(): ?string { @@ -37,7 +37,7 @@ public function getContent(): ?string { } /** - * Gets the contentType property value. Indicates the type for the comment reply. + * Gets the contentType property value. The content type for the reply. * @return string|null */ public function getContentType(): ?string { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the content property value. The content of a comment reply. + * Sets the content property value. The content of the reply. * @param string|null $value Value to set for the content property. */ public function setContent(?string $value): void { @@ -79,7 +79,7 @@ public function setContent(?string $value): void { } /** - * Sets the contentType property value. Indicates the type for the comment reply. + * Sets the contentType property value. The content type for the reply. * @param string|null $value Value to set for the contentType property. */ public function setContentType(?string $value): void { diff --git a/src/Generated/Models/WorkbookFormatProtection.php b/src/Generated/Models/WorkbookFormatProtection.php index 9b9779c72e8..8beee9fbd70 100644 --- a/src/Generated/Models/WorkbookFormatProtection.php +++ b/src/Generated/Models/WorkbookFormatProtection.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the formulaHidden property value. Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. + * Gets the formulaHidden property value. Indicates whether Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. * @return bool|null */ public function getFormulaHidden(): ?bool { @@ -49,7 +49,7 @@ public function getFormulaHidden(): ?bool { } /** - * Gets the locked property value. Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * Gets the locked property value. Indicates whether Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. * @return bool|null */ public function getLocked(): ?bool { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the formulaHidden property value. Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. + * Sets the formulaHidden property value. Indicates whether Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. * @param bool|null $value Value to set for the formulaHidden property. */ public function setFormulaHidden(?bool $value): void { @@ -79,7 +79,7 @@ public function setFormulaHidden(?bool $value): void { } /** - * Sets the locked property value. Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * Sets the locked property value. Indicates whether Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. * @param bool|null $value Value to set for the locked property. */ public function setLocked(?bool $value): void { diff --git a/src/Generated/Models/WorkbookIcon.php b/src/Generated/Models/WorkbookIcon.php index acbcca326fe..9e574ba8393 100644 --- a/src/Generated/Models/WorkbookIcon.php +++ b/src/Generated/Models/WorkbookIcon.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the index property value. Represents the index of the icon in the given set. + * Gets the index property value. The index of the icon in the given set. * @return int|null */ public function getIndex(): ?int { @@ -93,7 +93,7 @@ public function getOdataType(): ?string { } /** - * Gets the set property value. Represents the set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * Gets the set property value. The set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. * @return string|null */ public function getSet(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the index property value. Represents the index of the icon in the given set. + * Sets the index property value. The index of the icon in the given set. * @param int|null $value Value to set for the index property. */ public function setIndex(?int $value): void { @@ -148,7 +148,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the set property value. Represents the set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * Sets the set property value. The set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. * @param string|null $value Value to set for the set property. */ public function setSet(?string $value): void { diff --git a/src/Generated/Models/WorkbookNamedItem.php b/src/Generated/Models/WorkbookNamedItem.php index 5419cfa9bd5..d2e1afddad4 100644 --- a/src/Generated/Models/WorkbookNamedItem.php +++ b/src/Generated/Models/WorkbookNamedItem.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the comment property value. Represents the comment associated with this name. + * Gets the comment property value. The comment associated with this name. * @return string|null */ public function getComment(): ?string { @@ -77,7 +77,7 @@ public function getScope(): ?string { } /** - * Gets the type property value. Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. + * Gets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. * @return string|null */ public function getType(): ?string { @@ -89,7 +89,7 @@ public function getType(): ?string { } /** - * Gets the visible property value. Specifies whether the object is visible or not. + * Gets the visible property value. Indicates whether the object is visible. * @return bool|null */ public function getVisible(): ?bool { @@ -101,7 +101,7 @@ public function getVisible(): ?bool { } /** - * Gets the worksheet property value. Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Gets the worksheet property value. Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @return WorkbookWorksheet|null */ public function getWorksheet(): ?WorkbookWorksheet { @@ -127,7 +127,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the comment property value. Represents the comment associated with this name. + * Sets the comment property value. The comment associated with this name. * @param string|null $value Value to set for the comment property. */ public function setComment(?string $value): void { @@ -151,7 +151,7 @@ public function setScope(?string $value): void { } /** - * Sets the type property value. Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. + * Sets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. * @param string|null $value Value to set for the type property. */ public function setType(?string $value): void { @@ -159,7 +159,7 @@ public function setType(?string $value): void { } /** - * Sets the visible property value. Specifies whether the object is visible or not. + * Sets the visible property value. Indicates whether the object is visible. * @param bool|null $value Value to set for the visible property. */ public function setVisible(?bool $value): void { @@ -167,7 +167,7 @@ public function setVisible(?bool $value): void { } /** - * Sets the worksheet property value. Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * Sets the worksheet property value. Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only. * @param WorkbookWorksheet|null $value Value to set for the worksheet property. */ public function setWorksheet(?WorkbookWorksheet $value): void { diff --git a/src/Generated/Models/WorkbookPivotTable.php b/src/Generated/Models/WorkbookPivotTable.php index f2c7688d675..5b1a9d74eb1 100644 --- a/src/Generated/Models/WorkbookPivotTable.php +++ b/src/Generated/Models/WorkbookPivotTable.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the name property value. Name of the PivotTable. + * Gets the name property value. The name of the pivot table. * @return string|null */ public function getName(): ?string { @@ -49,7 +49,7 @@ public function getName(): ?string { } /** - * Gets the worksheet property value. The worksheet containing the current PivotTable. Read-only. + * Gets the worksheet property value. The worksheet that contains the current pivot table. Read-only. * @return WorkbookWorksheet|null */ public function getWorksheet(): ?WorkbookWorksheet { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the name property value. Name of the PivotTable. + * Sets the name property value. The name of the pivot table. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -79,7 +79,7 @@ public function setName(?string $value): void { } /** - * Sets the worksheet property value. The worksheet containing the current PivotTable. Read-only. + * Sets the worksheet property value. The worksheet that contains the current pivot table. Read-only. * @param WorkbookWorksheet|null $value Value to set for the worksheet property. */ public function setWorksheet(?WorkbookWorksheet $value): void { diff --git a/src/Generated/Models/WorkbookRange.php b/src/Generated/Models/WorkbookRange.php index 40c79c28d50..46d0e19773a 100644 --- a/src/Generated/Models/WorkbookRange.php +++ b/src/Generated/Models/WorkbookRange.php @@ -73,7 +73,7 @@ public function getColumnCount(): ?int { } /** - * Gets the columnHidden property value. Represents if all columns of the current range are hidden. + * Gets the columnHidden property value. Indicates whether all columns of the current range are hidden. * @return bool|null */ public function getColumnHidden(): ?bool { @@ -156,7 +156,7 @@ public function getRowCount(): ?int { } /** - * Gets the rowHidden property value. Represents if all rows of the current range are hidden. + * Gets the rowHidden property value. Indicates whether all rows of the current range are hidden. * @return bool|null */ public function getRowHidden(): ?bool { @@ -257,7 +257,7 @@ public function setColumnCount(?int $value): void { } /** - * Sets the columnHidden property value. Represents if all columns of the current range are hidden. + * Sets the columnHidden property value. Indicates whether all columns of the current range are hidden. * @param bool|null $value Value to set for the columnHidden property. */ public function setColumnHidden(?bool $value): void { @@ -297,7 +297,7 @@ public function setRowCount(?int $value): void { } /** - * Sets the rowHidden property value. Represents if all rows of the current range are hidden. + * Sets the rowHidden property value. Indicates whether all rows of the current range are hidden. * @param bool|null $value Value to set for the rowHidden property. */ public function setRowHidden(?bool $value): void { diff --git a/src/Generated/Models/WorkbookRangeBorder.php b/src/Generated/Models/WorkbookRangeBorder.php index 5a4e74182e3..e26b9a9525b 100644 --- a/src/Generated/Models/WorkbookRangeBorder.php +++ b/src/Generated/Models/WorkbookRangeBorder.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). + * Gets the color property value. The HTML color code that represents the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or a named HTML color, for example 'orange'. * @return string|null */ public function getColor(): ?string { @@ -51,7 +51,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the sideIndex property value. Constant value that indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * Gets the sideIndex property value. Indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. * @return string|null */ public function getSideIndex(): ?string { @@ -63,7 +63,7 @@ public function getSideIndex(): ?string { } /** - * Gets the style property value. One of the constants of line style specifying the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * Gets the style property value. Indicates the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. * @return string|null */ public function getStyle(): ?string { @@ -75,7 +75,7 @@ public function getStyle(): ?string { } /** - * Gets the weight property value. Specifies the weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. + * Gets the weight property value. The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. * @return string|null */ public function getWeight(): ?string { @@ -99,7 +99,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). + * Sets the color property value. The HTML color code that represents the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or a named HTML color, for example 'orange'. * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { @@ -107,7 +107,7 @@ public function setColor(?string $value): void { } /** - * Sets the sideIndex property value. Constant value that indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * Sets the sideIndex property value. Indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. * @param string|null $value Value to set for the sideIndex property. */ public function setSideIndex(?string $value): void { @@ -115,7 +115,7 @@ public function setSideIndex(?string $value): void { } /** - * Sets the style property value. One of the constants of line style specifying the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * Sets the style property value. Indicates the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. * @param string|null $value Value to set for the style property. */ public function setStyle(?string $value): void { @@ -123,7 +123,7 @@ public function setStyle(?string $value): void { } /** - * Sets the weight property value. Specifies the weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. + * Sets the weight property value. The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick. * @param string|null $value Value to set for the weight property. */ public function setWeight(?string $value): void { diff --git a/src/Generated/Models/WorkbookRangeFill.php b/src/Generated/Models/WorkbookRangeFill.php index c7788415d3e..6ceb8d66df4 100644 --- a/src/Generated/Models/WorkbookRangeFill.php +++ b/src/Generated/Models/WorkbookRangeFill.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange') + * Gets the color property value. HTML color code representing the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or be a named HTML color, for example 'orange'. * @return string|null */ public function getColor(): ?string { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange') + * Sets the color property value. HTML color code representing the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or be a named HTML color, for example 'orange'. * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { diff --git a/src/Generated/Models/WorkbookRangeFont.php b/src/Generated/Models/WorkbookRangeFont.php index 36e45602b3f..c4f2a92dd2a 100644 --- a/src/Generated/Models/WorkbookRangeFont.php +++ b/src/Generated/Models/WorkbookRangeFont.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the bold property value. Represents the bold status of font. + * Gets the bold property value. Inidicates whether the font is bold. * @return bool|null */ public function getBold(): ?bool { @@ -37,7 +37,7 @@ public function getBold(): ?bool { } /** - * Gets the color property value. HTML color code representation of the text color. for example #FF0000 represents Red. + * Gets the color property value. The HTML color code representation of the text color. For example, #FF0000 represents the color red. * @return string|null */ public function getColor(): ?string { @@ -65,7 +65,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the italic property value. Represents the italic status of the font. + * Gets the italic property value. Inidicates whether the font is italic. * @return bool|null */ public function getItalic(): ?bool { @@ -77,7 +77,7 @@ public function getItalic(): ?bool { } /** - * Gets the name property value. Font name (for example 'Calibri') + * Gets the name property value. The font name. For example, 'Calibri'. * @return string|null */ public function getName(): ?string { @@ -89,7 +89,7 @@ public function getName(): ?string { } /** - * Gets the size property value. Font size. + * Gets the size property value. The font size. * @return float|null */ public function getSize(): ?float { @@ -101,7 +101,7 @@ public function getSize(): ?float { } /** - * Gets the underline property value. Type of underline applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * Gets the underline property value. The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. * @return string|null */ public function getUnderline(): ?string { @@ -127,7 +127,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the bold property value. Represents the bold status of font. + * Sets the bold property value. Inidicates whether the font is bold. * @param bool|null $value Value to set for the bold property. */ public function setBold(?bool $value): void { @@ -135,7 +135,7 @@ public function setBold(?bool $value): void { } /** - * Sets the color property value. HTML color code representation of the text color. for example #FF0000 represents Red. + * Sets the color property value. The HTML color code representation of the text color. For example, #FF0000 represents the color red. * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { @@ -143,7 +143,7 @@ public function setColor(?string $value): void { } /** - * Sets the italic property value. Represents the italic status of the font. + * Sets the italic property value. Inidicates whether the font is italic. * @param bool|null $value Value to set for the italic property. */ public function setItalic(?bool $value): void { @@ -151,7 +151,7 @@ public function setItalic(?bool $value): void { } /** - * Sets the name property value. Font name (for example 'Calibri') + * Sets the name property value. The font name. For example, 'Calibri'. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -159,7 +159,7 @@ public function setName(?string $value): void { } /** - * Sets the size property value. Font size. + * Sets the size property value. The font size. * @param float|null $value Value to set for the size property. */ public function setSize(?float $value): void { @@ -167,7 +167,7 @@ public function setSize(?float $value): void { } /** - * Sets the underline property value. Type of underline applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * Sets the underline property value. The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. * @param string|null $value Value to set for the underline property. */ public function setUnderline(?string $value): void { diff --git a/src/Generated/Models/WorkbookRangeFormat.php b/src/Generated/Models/WorkbookRangeFormat.php index c078a402398..9d11d5e79be 100644 --- a/src/Generated/Models/WorkbookRangeFormat.php +++ b/src/Generated/Models/WorkbookRangeFormat.php @@ -40,7 +40,7 @@ public function getBorders(): ?array { } /** - * Gets the columnWidth property value. Gets or sets the width of all columns within the range. If the column widths aren't uniform, null will be returned. + * Gets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned. * @return float|null */ public function getColumnWidth(): ?float { @@ -95,7 +95,7 @@ public function getFont(): ?WorkbookRangeFont { } /** - * Gets the horizontalAlignment property value. Represents the horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * Gets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. * @return string|null */ public function getHorizontalAlignment(): ?string { @@ -119,7 +119,7 @@ public function getProtection(): ?WorkbookFormatProtection { } /** - * Gets the rowHeight property value. Gets or sets the height of all rows in the range. If the row heights aren't uniform null will be returned. + * Gets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned. * @return float|null */ public function getRowHeight(): ?float { @@ -131,7 +131,7 @@ public function getRowHeight(): ?float { } /** - * Gets the verticalAlignment property value. Represents the vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. + * Gets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. * @return string|null */ public function getVerticalAlignment(): ?string { @@ -143,7 +143,7 @@ public function getVerticalAlignment(): ?string { } /** - * Gets the wrapText property value. Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * Gets the wrapText property value. Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting. * @return bool|null */ public function getWrapText(): ?bool { @@ -180,7 +180,7 @@ public function setBorders(?array $value): void { } /** - * Sets the columnWidth property value. Gets or sets the width of all columns within the range. If the column widths aren't uniform, null will be returned. + * Sets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned. * @param float|null $value Value to set for the columnWidth property. */ public function setColumnWidth(?float $value): void { @@ -204,7 +204,7 @@ public function setFont(?WorkbookRangeFont $value): void { } /** - * Sets the horizontalAlignment property value. Represents the horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * Sets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. * @param string|null $value Value to set for the horizontalAlignment property. */ public function setHorizontalAlignment(?string $value): void { @@ -220,7 +220,7 @@ public function setProtection(?WorkbookFormatProtection $value): void { } /** - * Sets the rowHeight property value. Gets or sets the height of all rows in the range. If the row heights aren't uniform null will be returned. + * Sets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned. * @param float|null $value Value to set for the rowHeight property. */ public function setRowHeight(?float $value): void { @@ -228,7 +228,7 @@ public function setRowHeight(?float $value): void { } /** - * Sets the verticalAlignment property value. Represents the vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. + * Sets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. * @param string|null $value Value to set for the verticalAlignment property. */ public function setVerticalAlignment(?string $value): void { @@ -236,7 +236,7 @@ public function setVerticalAlignment(?string $value): void { } /** - * Sets the wrapText property value. Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * Sets the wrapText property value. Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting. * @param bool|null $value Value to set for the wrapText property. */ public function setWrapText(?bool $value): void { diff --git a/src/Generated/Models/WorkbookRangeView.php b/src/Generated/Models/WorkbookRangeView.php index 43032ce8ad1..70a7c9bd79f 100644 --- a/src/Generated/Models/WorkbookRangeView.php +++ b/src/Generated/Models/WorkbookRangeView.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the columnCount property value. Returns the number of visible columns. Read-only. + * Gets the columnCount property value. The number of visible columns. Read-only. * @return int|null */ public function getColumnCount(): ?int { @@ -52,7 +52,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the index property value. Index of the range. + * Gets the index property value. The index of the range. * @return int|null */ public function getIndex(): ?int { @@ -64,7 +64,7 @@ public function getIndex(): ?int { } /** - * Gets the rowCount property value. Returns the number of visible rows. Read-only. + * Gets the rowCount property value. The number of visible rows. Read-only. * @return int|null */ public function getRowCount(): ?int { @@ -76,7 +76,7 @@ public function getRowCount(): ?int { } /** - * Gets the rows property value. Represents a collection of range views associated with the range. Read-only. Read-only. + * Gets the rows property value. The collection of range views associated with the range. Read-only. Read-only. * @return array|null */ public function getRows(): ?array { @@ -102,7 +102,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the columnCount property value. Returns the number of visible columns. Read-only. + * Sets the columnCount property value. The number of visible columns. Read-only. * @param int|null $value Value to set for the columnCount property. */ public function setColumnCount(?int $value): void { @@ -110,7 +110,7 @@ public function setColumnCount(?int $value): void { } /** - * Sets the index property value. Index of the range. + * Sets the index property value. The index of the range. * @param int|null $value Value to set for the index property. */ public function setIndex(?int $value): void { @@ -118,7 +118,7 @@ public function setIndex(?int $value): void { } /** - * Sets the rowCount property value. Returns the number of visible rows. Read-only. + * Sets the rowCount property value. The number of visible rows. Read-only. * @param int|null $value Value to set for the rowCount property. */ public function setRowCount(?int $value): void { @@ -126,7 +126,7 @@ public function setRowCount(?int $value): void { } /** - * Sets the rows property value. Represents a collection of range views associated with the range. Read-only. Read-only. + * Sets the rows property value. The collection of range views associated with the range. Read-only. Read-only. * @param array|null $value Value to set for the rows property. */ public function setRows(?array $value): void { diff --git a/src/Generated/Models/WorkbookTable.php b/src/Generated/Models/WorkbookTable.php index 56a86ddee7c..96b902455c6 100644 --- a/src/Generated/Models/WorkbookTable.php +++ b/src/Generated/Models/WorkbookTable.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the columns property value. Represents a collection of all the columns in the table. Read-only. + * Gets the columns property value. The list of all the columns in the table. Read-only. * @return array|null */ public function getColumns(): ?array { @@ -88,7 +88,7 @@ public function getHighlightLastColumn(): ?bool { } /** - * Gets the legacyId property value. Legacy ID used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. + * Gets the legacyId property value. A legacy identifier used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. * @return string|null */ public function getLegacyId(): ?string { @@ -100,7 +100,7 @@ public function getLegacyId(): ?string { } /** - * Gets the name property value. Name of the table. + * Gets the name property value. The name of the table. * @return string|null */ public function getName(): ?string { @@ -112,7 +112,7 @@ public function getName(): ?string { } /** - * Gets the rows property value. Represents a collection of all the rows in the table. Read-only. + * Gets the rows property value. The list of all the rows in the table. Read-only. * @return array|null */ public function getRows(): ?array { @@ -186,7 +186,7 @@ public function getShowTotals(): ?bool { } /** - * Gets the sort property value. Represents the sorting for the table. Read-only. + * Gets the sort property value. The sorting for the table. Read-only. * @return WorkbookTableSort|null */ public function getSort(): ?WorkbookTableSort { @@ -198,7 +198,7 @@ public function getSort(): ?WorkbookTableSort { } /** - * Gets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * Gets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. * @return string|null */ public function getStyle(): ?string { @@ -244,7 +244,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the columns property value. Represents a collection of all the columns in the table. Read-only. + * Sets the columns property value. The list of all the columns in the table. Read-only. * @param array|null $value Value to set for the columns property. */ public function setColumns(?array $value): void { @@ -268,7 +268,7 @@ public function setHighlightLastColumn(?bool $value): void { } /** - * Sets the legacyId property value. Legacy ID used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. + * Sets the legacyId property value. A legacy identifier used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. * @param string|null $value Value to set for the legacyId property. */ public function setLegacyId(?string $value): void { @@ -276,7 +276,7 @@ public function setLegacyId(?string $value): void { } /** - * Sets the name property value. Name of the table. + * Sets the name property value. The name of the table. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -284,7 +284,7 @@ public function setName(?string $value): void { } /** - * Sets the rows property value. Represents a collection of all the rows in the table. Read-only. + * Sets the rows property value. The list of all the rows in the table. Read-only. * @param array|null $value Value to set for the rows property. */ public function setRows(?array $value): void { @@ -332,7 +332,7 @@ public function setShowTotals(?bool $value): void { } /** - * Sets the sort property value. Represents the sorting for the table. Read-only. + * Sets the sort property value. The sorting for the table. Read-only. * @param WorkbookTableSort|null $value Value to set for the sort property. */ public function setSort(?WorkbookTableSort $value): void { @@ -340,7 +340,7 @@ public function setSort(?WorkbookTableSort $value): void { } /** - * Sets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * Sets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. * @param string|null $value Value to set for the style property. */ public function setStyle(?string $value): void { diff --git a/src/Generated/Models/WorkbookTableColumn.php b/src/Generated/Models/WorkbookTableColumn.php index 37256d59e9f..6411e4f56bc 100644 --- a/src/Generated/Models/WorkbookTableColumn.php +++ b/src/Generated/Models/WorkbookTableColumn.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the filter property value. Retrieve the filter applied to the column. Read-only. + * Gets the filter property value. The filter applied to the column. Read-only. * @return WorkbookFilter|null */ public function getFilter(): ?WorkbookFilter { @@ -50,7 +50,7 @@ public function getFilter(): ?WorkbookFilter { } /** - * Gets the index property value. Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. + * Gets the index property value. The index of the column within the columns collection of the table. Zero-indexed. Read-only. * @return int|null */ public function getIndex(): ?int { @@ -62,7 +62,7 @@ public function getIndex(): ?int { } /** - * Gets the name property value. Returns the name of the table column. + * Gets the name property value. The name of the table column. * @return string|null */ public function getName(): ?string { @@ -85,7 +85,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the filter property value. Retrieve the filter applied to the column. Read-only. + * Sets the filter property value. The filter applied to the column. Read-only. * @param WorkbookFilter|null $value Value to set for the filter property. */ public function setFilter(?WorkbookFilter $value): void { @@ -93,7 +93,7 @@ public function setFilter(?WorkbookFilter $value): void { } /** - * Sets the index property value. Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. + * Sets the index property value. The index of the column within the columns collection of the table. Zero-indexed. Read-only. * @param int|null $value Value to set for the index property. */ public function setIndex(?int $value): void { @@ -101,7 +101,7 @@ public function setIndex(?int $value): void { } /** - * Sets the name property value. Returns the name of the table column. + * Sets the name property value. The name of the table column. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { diff --git a/src/Generated/Models/WorkbookTableRow.php b/src/Generated/Models/WorkbookTableRow.php index e54e0cb7685..fb96a7e0604 100644 --- a/src/Generated/Models/WorkbookTableRow.php +++ b/src/Generated/Models/WorkbookTableRow.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the index property value. Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. + * Gets the index property value. The index of the row within the rows collection of the table. Zero-based. Read-only. * @return int|null */ public function getIndex(): ?int { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the index property value. Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. + * Sets the index property value. The index of the row within the rows collection of the table. Zero-based. Read-only. * @param int|null $value Value to set for the index property. */ public function setIndex(?int $value): void { diff --git a/src/Generated/Models/WorkbookTableSort.php b/src/Generated/Models/WorkbookTableSort.php index 4fb1abf234d..b6c471704fa 100644 --- a/src/Generated/Models/WorkbookTableSort.php +++ b/src/Generated/Models/WorkbookTableSort.php @@ -39,7 +39,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the fields property value. Represents the current conditions used to last sort the table. Read-only. + * Gets the fields property value. The list of the current conditions last used to sort the table. Read-only. * @return array|null */ public function getFields(): ?array { @@ -53,7 +53,7 @@ public function getFields(): ?array { } /** - * Gets the matchCase property value. Represents whether the casing impacted the last sort of the table. Read-only. + * Gets the matchCase property value. Indicates whether the casing impacted the last sort of the table. Read-only. * @return bool|null */ public function getMatchCase(): ?bool { @@ -65,7 +65,7 @@ public function getMatchCase(): ?bool { } /** - * Gets the method property value. Represents Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. + * Gets the method property value. The Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. * @return string|null */ public function getMethod(): ?string { @@ -88,7 +88,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the fields property value. Represents the current conditions used to last sort the table. Read-only. + * Sets the fields property value. The list of the current conditions last used to sort the table. Read-only. * @param array|null $value Value to set for the fields property. */ public function setFields(?array $value): void { @@ -96,7 +96,7 @@ public function setFields(?array $value): void { } /** - * Sets the matchCase property value. Represents whether the casing impacted the last sort of the table. Read-only. + * Sets the matchCase property value. Indicates whether the casing impacted the last sort of the table. Read-only. * @param bool|null $value Value to set for the matchCase property. */ public function setMatchCase(?bool $value): void { @@ -104,7 +104,7 @@ public function setMatchCase(?bool $value): void { } /** - * Sets the method property value. Represents Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. + * Sets the method property value. The Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only. * @param string|null $value Value to set for the method property. */ public function setMethod(?string $value): void { diff --git a/src/Generated/Models/WorkbookWorksheet.php b/src/Generated/Models/WorkbookWorksheet.php index 24cab5fea3d..809ced897c1 100644 --- a/src/Generated/Models/WorkbookWorksheet.php +++ b/src/Generated/Models/WorkbookWorksheet.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the charts property value. Returns collection of charts that are part of the worksheet. Read-only. + * Gets the charts property value. The list of charts that are part of the worksheet. Read-only. * @return array|null */ public function getCharts(): ?array { @@ -70,7 +70,7 @@ public function getName(): ?string { } /** - * Gets the names property value. Returns collection of names that are associated with the worksheet. Read-only. + * Gets the names property value. The list of names that are associated with the worksheet. Read-only. * @return array|null */ public function getNames(): ?array { @@ -84,7 +84,7 @@ public function getNames(): ?array { } /** - * Gets the pivotTables property value. Collection of PivotTables that are part of the worksheet. + * Gets the pivotTables property value. The list of piot tables that are part of the worksheet. * @return array|null */ public function getPivotTables(): ?array { @@ -110,7 +110,7 @@ public function getPosition(): ?int { } /** - * Gets the protection property value. Returns sheet protection object for a worksheet. Read-only. + * Gets the protection property value. The sheet protection object for a worksheet. Read-only. * @return WorkbookWorksheetProtection|null */ public function getProtection(): ?WorkbookWorksheetProtection { @@ -122,7 +122,7 @@ public function getProtection(): ?WorkbookWorksheetProtection { } /** - * Gets the tables property value. Collection of tables that are part of the worksheet. Read-only. + * Gets the tables property value. The list of tables that are part of the worksheet. Read-only. * @return array|null */ public function getTables(): ?array { @@ -136,7 +136,7 @@ public function getTables(): ?array { } /** - * Gets the visibility property value. The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * Gets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. * @return string|null */ public function getVisibility(): ?string { @@ -164,7 +164,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the charts property value. Returns collection of charts that are part of the worksheet. Read-only. + * Sets the charts property value. The list of charts that are part of the worksheet. Read-only. * @param array|null $value Value to set for the charts property. */ public function setCharts(?array $value): void { @@ -180,7 +180,7 @@ public function setName(?string $value): void { } /** - * Sets the names property value. Returns collection of names that are associated with the worksheet. Read-only. + * Sets the names property value. The list of names that are associated with the worksheet. Read-only. * @param array|null $value Value to set for the names property. */ public function setNames(?array $value): void { @@ -188,7 +188,7 @@ public function setNames(?array $value): void { } /** - * Sets the pivotTables property value. Collection of PivotTables that are part of the worksheet. + * Sets the pivotTables property value. The list of piot tables that are part of the worksheet. * @param array|null $value Value to set for the pivotTables property. */ public function setPivotTables(?array $value): void { @@ -204,7 +204,7 @@ public function setPosition(?int $value): void { } /** - * Sets the protection property value. Returns sheet protection object for a worksheet. Read-only. + * Sets the protection property value. The sheet protection object for a worksheet. Read-only. * @param WorkbookWorksheetProtection|null $value Value to set for the protection property. */ public function setProtection(?WorkbookWorksheetProtection $value): void { @@ -212,7 +212,7 @@ public function setProtection(?WorkbookWorksheetProtection $value): void { } /** - * Sets the tables property value. Collection of tables that are part of the worksheet. Read-only. + * Sets the tables property value. The list of tables that are part of the worksheet. Read-only. * @param array|null $value Value to set for the tables property. */ public function setTables(?array $value): void { @@ -220,7 +220,7 @@ public function setTables(?array $value): void { } /** - * Sets the visibility property value. The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * Sets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. * @param string|null $value Value to set for the visibility property. */ public function setVisibility(?string $value): void { diff --git a/src/Generated/Models/WorkbookWorksheetProtection.php b/src/Generated/Models/WorkbookWorksheetProtection.php index 1dcecd2d1af..84be2e51640 100644 --- a/src/Generated/Models/WorkbookWorksheetProtection.php +++ b/src/Generated/Models/WorkbookWorksheetProtection.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the protected property value. Indicates if the worksheet is protected. Read-only. + * Gets the protected property value. Indicates whether the worksheet is protected. Read-only. * @return bool|null */ public function getEscapedProtected(): ?bool { @@ -49,7 +49,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the options property value. Sheet protection options. Read-only. + * Gets the options property value. Worksheet protection options. Read-only. * @return WorkbookWorksheetProtectionOptions|null */ public function getOptions(): ?WorkbookWorksheetProtectionOptions { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the protected property value. Indicates if the worksheet is protected. Read-only. + * Sets the protected property value. Indicates whether the worksheet is protected. Read-only. * @param bool|null $value Value to set for the protected property. */ public function setEscapedProtected(?bool $value): void { @@ -79,7 +79,7 @@ public function setEscapedProtected(?bool $value): void { } /** - * Sets the options property value. Sheet protection options. Read-only. + * Sets the options property value. Worksheet protection options. Read-only. * @param WorkbookWorksheetProtectionOptions|null $value Value to set for the options property. */ public function setOptions(?WorkbookWorksheetProtectionOptions $value): void { diff --git a/src/Generated/Models/X509CertificateCombinationConfiguration.php b/src/Generated/Models/X509CertificateCombinationConfiguration.php index 160c9882d1d..3764ca90365 100644 --- a/src/Generated/Models/X509CertificateCombinationConfiguration.php +++ b/src/Generated/Models/X509CertificateCombinationConfiguration.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): X509C } /** - * Gets the allowedIssuerSkis property value. The allowedIssuerSkis property + * Gets the allowedIssuerSkis property value. A list of allowed subject key identifier values. * @return array|null */ public function getAllowedIssuerSkis(): ?array { @@ -41,7 +41,7 @@ public function getAllowedIssuerSkis(): ?array { } /** - * Gets the allowedPolicyOIDs property value. The allowedPolicyOIDs property + * Gets the allowedPolicyOIDs property value. A list of allowed policy OIDs. * @return array|null */ public function getAllowedPolicyOIDs(): ?array { @@ -91,7 +91,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the allowedIssuerSkis property value. The allowedIssuerSkis property + * Sets the allowedIssuerSkis property value. A list of allowed subject key identifier values. * @param array|null $value Value to set for the allowedIssuerSkis property. */ public function setAllowedIssuerSkis(?array $value): void { @@ -99,7 +99,7 @@ public function setAllowedIssuerSkis(?array $value): void { } /** - * Sets the allowedPolicyOIDs property value. The allowedPolicyOIDs property + * Sets the allowedPolicyOIDs property value. A list of allowed policy OIDs. * @param array|null $value Value to set for the allowedPolicyOIDs property. */ public function setAllowedPolicyOIDs(?array $value): void { diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index 319b02c2e3d..f2a5a2103ea 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 92f9fc09361..3e252688410 100644 --- a/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 7b3508bdb1f..fce821c0172 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 4f144e8136a..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index ac128723db2..219b772dec8 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); @@ -114,7 +114,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 10597c442ed..dbe1dd5d054 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/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 5924bf9390e..9b31feb8665 100644 --- a/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index d84e4e554a0..589ba516104 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @param DirectoryScopeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DirectoryScopeRequestBuilderGetRequestConfiguration $reques } /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @param DirectoryScopeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php index f41f519cb39..d0ea27f6746 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. */ class DirectoryScopeRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php index 17748dd06f4..d1ce81717ea 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @param PrincipalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?PrincipalRequestBuilderGetRequestConfiguration $requestConf } /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @param PrincipalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php index 19368189f72..53d393b4ed6 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. */ class PrincipalRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index c1ca191aff1..1ba7f7d01d1 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. * @param RoleDefinitionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?RoleDefinitionRequestBuilderGetRequestConfiguration $reques } /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. * @param RoleDefinitionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php index a048ef1ef9e..05b1c04228e 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. */ class RoleDefinitionRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 91db26331a0..60ebdcbed71 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @param DirectoryScopeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DirectoryScopeRequestBuilderGetRequestConfiguration $reques } /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. * @param DirectoryScopeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php index 0d44881ed50..edf60392450 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The directory object that is the scope of the assignment. Read-only. Supports $expand. + * The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider. */ class DirectoryScopeRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php index 8cafa360616..8be591ca993 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @param PrincipalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?PrincipalRequestBuilderGetRequestConfiguration $requestConf } /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. * @param PrincipalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php index 74738109a93..e86cd7595a0 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Referencing the assigned principal. Read-only. Supports $expand. + * Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider. */ class PrincipalRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 6cae15f9b48..fe3c6e98002 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. * @param RoleDefinitionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?RoleDefinitionRequestBuilderGetRequestConfiguration $reques } /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. * @param RoleDefinitionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php index 916e9819ed1..3e19384d86b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The roleDefinition the assignment is for. Supports $expand. + * The roleDefinition the assignment is for. Supports $expand. */ class RoleDefinitionRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php index e22ace1461f..9b13c3d9acc 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The hosts related with this sslCertificate. + * The host resources related with this sslCertificate. * @param HostItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?HostItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * The hosts related with this sslCertificate. + * The host resources related with this sslCertificate. * @param HostItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilderGetQueryParameters.php index 07c4eb62cb9..38dc025cec3 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The hosts related with this sslCertificate. + * The host resources related with this sslCertificate. */ class HostItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php index 801a2f7ecf7..06a1811caea 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The hosts related with this sslCertificate. + * Get a list of related host resources associated with an sslCertificate. * @param RelatedHostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-sslcertificate-list-relatedhosts?view=graph-rest-1.0 Find more info here */ public function get(?RelatedHostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?RelatedHostsRequestBuilderGetRequestConfiguration $requestC } /** - * The hosts related with this sslCertificate. + * Get a list of related host resources associated with an sslCertificate. * @param RelatedHostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilderGetQueryParameters.php index d1a6672920c..79efcc346dc 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The hosts related with this sslCertificate. + * Get a list of related host resources associated with an sslCertificate. */ class RelatedHostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index c9273b59ab6..7d16e6bd4ff 100644 --- a/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php deleted file mode 100644 index 8b5b8e5c488..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/analytics{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property analytics for sites - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AnalyticsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Analytics about the view activities that took place on this site. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AnalyticsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property analytics in sites - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property analytics for sites - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Analytics about the view activities that took place on this site. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfiguration $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 analytics in sites - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $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 AnalyticsRequestBuilder - */ - public function withUrl(string $rawUrl): AnalyticsRequestBuilder { - return new AnalyticsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 3621c6a9283..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3b3d62b3f7b..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AnalyticsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aa8ebb3b929..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AnalyticsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AnalyticsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AnalyticsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AnalyticsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AnalyticsRequestBuilderGetQueryParameters { - return new AnalyticsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index 8c5e324f97d..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of column definitions reusable across lists under this site. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for sites - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of column definitions reusable across lists under this site. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for sites - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6437f9875ac..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5caf3d67335..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php deleted file mode 100644 index ce6d4cf429a..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/contentTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of content types defined for this site. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentTypeCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to contentTypes for sites - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of content types defined for this site. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to contentTypes for sites - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $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 ContentTypesRequestBuilder - */ - public function withUrl(string $rawUrl): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 64d40767ca3..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c8c808de6c4..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentTypesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ContentTypesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContentTypesRequestBuilderGetQueryParameters { - return new ContentTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cb096558b72..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index b71434605e8..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CreatedByUserRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c9648765f91..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php deleted file mode 100644 index 8fcfd8c3f3e..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/drive{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The default drive (document library) for this site. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Drive::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The default drive (document library) for this site. - * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveRequestBuilder - */ - public function withUrl(string $rawUrl): DriveRequestBuilder { - return new DriveRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php deleted file mode 100644 index 5452620e1cf..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/drives{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of drives (document libraries) under this site. - * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DrivesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of drives (document libraries) under this site. - * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DrivesRequestBuilder - */ - public function withUrl(string $rawUrl): DrivesRequestBuilder { - return new DrivesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c3c84fe77da..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DrivesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DrivesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DrivesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DrivesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DrivesRequestBuilderGetQueryParameters { - return new DrivesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php deleted file mode 100644 index 2c914141cd9..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/externalColumns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get externalColumns from sites - * @param ExternalColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ExternalColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get externalColumns from sites - * @param ExternalColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ExternalColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ExternalColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ExternalColumnsRequestBuilder { - return new ExternalColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php deleted file mode 100644 index 15a8411cbda..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilder.php +++ /dev/null @@ -1,213 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.site entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the contentTypes property of the microsoft.graph.site entity. - */ - public function contentTypes(): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - public function createdByUser(): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the drive property of the microsoft.graph.site entity. - */ - public function drive(): DriveRequestBuilder { - return new DriveRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the drives property of the microsoft.graph.site entity. - */ - public function drives(): DrivesRequestBuilder { - return new DrivesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the externalColumns property of the microsoft.graph.site entity. - */ - public function externalColumns(): ExternalColumnsRequestBuilder { - return new ExternalColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.site entity. - */ - public function items(): ItemsRequestBuilder { - return new ItemsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lists property of the microsoft.graph.site entity. - */ - public function lists(): ListsRequestBuilder { - return new ListsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the onenote property of the microsoft.graph.site entity. - */ - public function onenote(): OnenoteRequestBuilder { - return new OnenoteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the operations property of the microsoft.graph.site entity. - */ - public function operations(): OperationsRequestBuilder { - return new OperationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the pages property of the microsoft.graph.site entity. - */ - public function pages(): PagesRequestBuilder { - return new PagesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the permissions property of the microsoft.graph.site entity. - */ - public function permissions(): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sites property of the microsoft.graph.site entity. - */ - public function sites(): SitesRequestBuilder { - return new SitesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the termStore property of the microsoft.graph.site entity. - */ - public function termStore(): TermStoreRequestBuilder { - return new TermStoreRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the termStores property of the microsoft.graph.site entity. - */ - public function termStores(): TermStoresRequestBuilder { - return new TermStoresRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new GetByPathWithPath1RequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $path1 Usage: path='{path1}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $path1 = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['path1'] = $path1; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function getByPath - * @param GetByPathWithPath1RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?GetByPathWithPath1RequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Site::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function getByPath - * @param GetByPathWithPath1RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetByPathWithPath1RequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetByPathWithPath1RequestBuilder - */ - public function withUrl(string $rawUrl): GetByPathWithPath1RequestBuilder { - return new GetByPathWithPath1RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php deleted file mode 100644 index 413bce7efeb..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Used to address any item contained in this site. This collection can't be enumerated. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Used to address any item contained in this site. This collection can't be enumerated. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemsRequestBuilder - */ - public function withUrl(string $rawUrl): ItemsRequestBuilder { - return new ItemsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php deleted file mode 100644 index c363f489a16..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 578c25f7e34..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ItemsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index 5b19527f4ce..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index ee61f84d027..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastModifiedByUserRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1844e86911f..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php deleted file mode 100644 index 7c95ac8da31..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/lists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of lists under this site. - * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to lists for sites - * @param EscapedList $body The request body - * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EscapedList $body, ?ListsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [EscapedList::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of lists under this site. - * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to lists for sites - * @param EscapedList $body The request body - * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EscapedList $body, ?ListsRequestBuilderPostRequestConfiguration $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 ListsRequestBuilder - */ - public function withUrl(string $rawUrl): ListsRequestBuilder { - return new ListsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f54dc5c2686..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ListsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ListsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ListsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ListsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ListsRequestBuilderGetQueryParameters { - return new ListsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fe54a90f1cd..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php deleted file mode 100644 index 63a1c3ac518..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 OnenoteRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php deleted file mode 100644 index 4d0015280a7..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of long-running operations on the site. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to operations for sites - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of long-running operations on the site. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to operations for sites - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $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 OperationsRequestBuilder - */ - public function withUrl(string $rawUrl): OperationsRequestBuilder { - return new OperationsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php deleted file mode 100644 index c587801b328..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/pages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of pages in the baseSitePages list in this site. - * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseSitePageCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to pages for sites - * @param BaseSitePage $body The request body - * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BaseSitePage $body, ?PagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [BaseSitePage::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of pages in the baseSitePages list in this site. - * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to pages for sites - * @param BaseSitePage $body The request body - * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BaseSitePage $body, ?PagesRequestBuilderPostRequestConfiguration $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 PagesRequestBuilder - */ - public function withUrl(string $rawUrl): PagesRequestBuilder { - return new PagesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php deleted file mode 100644 index d06a65980ad..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PagesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ac9826bdd12..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PagesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PagesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PagesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PagesRequestBuilderGetQueryParameters { - return new PagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 77fa306cbf9..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php deleted file mode 100644 index 2caa9e7c038..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The permissions associated with the site. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [PermissionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to permissions for sites - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The permissions associated with the site. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to permissions for sites - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $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 PermissionsRequestBuilder - */ - public function withUrl(string $rawUrl): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index fd2201d264a..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d95d96fc883..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PermissionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PermissionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PermissionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PermissionsRequestBuilderGetQueryParameters { - return new PermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fcf9d31f210..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php deleted file mode 100644 index 14e6f219106..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/sites{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of the sub-sites under this site. - * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SiteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of the sub-sites under this site. - * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SitesRequestBuilder - */ - public function withUrl(string $rawUrl): SitesRequestBuilder { - return new SitesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 48852b14169..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SitesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 498c10fcd91..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SitesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SitesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SitesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SitesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SitesRequestBuilderGetQueryParameters { - return new SitesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6534f2164bd..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php deleted file mode 100644 index b713cd36b0a..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TermStoreRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 457a3649c3e..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TermStoreRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TermStoreRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TermStoreRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TermStoreRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TermStoreRequestBuilderGetQueryParameters { - return new TermStoreRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php deleted file mode 100644 index 5bd8381391f..00000000000 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/termStores{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of termStores under this site. - * @param TermStoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TermStoresRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [StoreCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to termStores for sites - * @param Store $body The request body - * @param TermStoresRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Store $body, ?TermStoresRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of termStores under this site. - * @param TermStoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TermStoresRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to termStores for sites - * @param Store $body The request body - * @param TermStoresRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Store $body, ?TermStoresRequestBuilderPostRequestConfiguration $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 TermStoresRequestBuilder - */ - public function withUrl(string $rawUrl): TermStoresRequestBuilder { - return new TermStoresRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php index 0425b782b0b..d48bad0bf2c 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php +++ b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php @@ -16,7 +16,6 @@ use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\GetActivitiesByInterval\GetActivitiesByIntervalRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval\GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\GetApplicableContentTypesForListWithListId\GetApplicableContentTypesForListWithListIdRequestBuilder; -use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\GetByPathWithPath1\GetByPathWithPath1RequestBuilder; use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\Items\ItemsRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\LastModifiedByUser\LastModifiedByUserRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\GetByPathWithPath\Lists\ListsRequestBuilder; @@ -214,15 +213,6 @@ public function getApplicableContentTypesForListWithListId(string $listId): GetA return new GetApplicableContentTypesForListWithListIdRequestBuilder($this->pathParameters, $this->requestAdapter, $listId); } - /** - * Provides operations to call the getByPath method. - * @param string $path1 Usage: path='{path1}' - * @return GetByPathWithPath1RequestBuilder - */ - public function getByPathWithPath1(string $path1): GetByPathWithPath1RequestBuilder { - return new GetByPathWithPath1RequestBuilder($this->pathParameters, $this->requestAdapter, $path1); - } - /** * Invoke function getByPath * @param GetByPathWithPathRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php index 070fff540df..c2ec589cacb 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?BookingAppointmentItemRequestBuilderDeleteRequestConfigu } /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @param BookingAppointmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?BookingAppointmentItemRequestBuilder } /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. * @param BookingAppointmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php index 9765896cc97..604bac7d4bd 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. */ class BookingAppointmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilder.php similarity index 65% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilder.php index d35dda7becb..c8b31ea51eb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilder.php @@ -1,10 +1,9 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/follow'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/cancel'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,26 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Follow a driveItem. - * @param FollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke action cancel + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-follow?view=graph-rest-1.0 Find more info here */ - public function post(?FollowRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); } /** - * Follow a driveItem. - * @param FollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke action cancel + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?FollowRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -66,10 +64,10 @@ public function toPostRequestInformation(?FollowRequestBuilderPostRequestConfigu /** * 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 FollowRequestBuilder + * @return CancelRequestBuilder */ - public function withUrl(string $rawUrl): FollowRequestBuilder { - return new FollowRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): CancelRequestBuilder { + return new CancelRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php index ac8a3aaa50d..382a8ee4b35 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilder.php similarity index 92% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilder.php index 4e0e9373cb2..82b686a62db 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Count/CountRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php similarity index 90% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php index 54cff97ace7..1c8734e86fa 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/operations/{richLongRunningOperation%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property operations for storage - * @param RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property presenters for solutions + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +45,40 @@ public function delete(?RichLongRunningOperationItemRequestBuilderDeleteRequestC } /** - * The collection of long-running operations on the list. - * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The virtual event presenters. + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?RichLongRunningOperationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperation::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property operations in storage - * @param RichLongRunningOperation $body The request body - * @param RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property presenters in solutions + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(RichLongRunningOperation $body, ?RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperation::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property operations for storage - * @param RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property presenters for solutions + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +92,11 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB } /** - * The collection of long-running operations on the list. - * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The virtual event presenters. + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +113,12 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } /** - * Update the navigation property operations in storage - * @param RichLongRunningOperation $body The request body - * @param RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property presenters in solutions + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +135,10 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL /** * 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 RichLongRunningOperationItemRequestBuilder + * @return VirtualEventPresenterItemRequestBuilder */ - public function withUrl(string $rawUrl): RichLongRunningOperationItemRequestBuilder { - return new RichLongRunningOperationItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): VirtualEventPresenterItemRequestBuilder { + return new VirtualEventPresenterItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php similarity index 62% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php index 889f4d6a613..df679c8616f 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2a1bab95714 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.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 VirtualEventPresenterItemRequestBuilderGetQueryParameters 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/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3b41f07b8b5 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventPresenterItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventPresenterItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventPresenterItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventPresenterItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventPresenterItemRequestBuilderGetQueryParameters { + return new VirtualEventPresenterItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php similarity index 62% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php index ad8ae8c769c..94e2101aa1f 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilder.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilder.php index 18b82cf5ec9..4385d9c2e17 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['thumbnailSet%2Did'] = $thumbnailSetId; - return new ThumbnailSetItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['virtualEventPresenter%2Did'] = $virtualEventPresenterId; + return new VirtualEventPresenterItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new ThumbnailsRequestBuilder and sets the default values. + * Instantiates a new PresentersRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/thumbnails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,40 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. - * @param ThumbnailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The virtual event presenters. + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ThumbnailsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ThumbnailSetCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenterCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to thumbnails for storage - * @param ThumbnailSet $body The request body - * @param ThumbnailsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create new navigation property to presenters for solutions + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function post(ThumbnailSet $body, ?ThumbnailsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ThumbnailSet::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. - * @param ThumbnailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The virtual event presenters. + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ThumbnailsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +102,12 @@ public function toGetRequestInformation(?ThumbnailsRequestBuilderGetRequestConfi } /** - * Create new navigation property to thumbnails for storage - * @param ThumbnailSet $body The request body - * @param ThumbnailsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create new navigation property to presenters for solutions + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(ThumbnailSet $body, ?ThumbnailsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +124,10 @@ public function toPostRequestInformation(ThumbnailSet $body, ?ThumbnailsRequestB /** * 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 ThumbnailsRequestBuilder + * @return PresentersRequestBuilder */ - public function withUrl(string $rawUrl): ThumbnailsRequestBuilder { - return new ThumbnailsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): PresentersRequestBuilder { + return new PresentersRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php index fe80681446e..68b3d670801 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php similarity index 68% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php index 1a2a6f75849..880c2b13b44 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param OperationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param PresentersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?OperationsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?PresentersRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters. + * Instantiates a new PresentersRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ope * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return OperationsRequestBuilderGetQueryParameters + * @return PresentersRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PresentersRequestBuilderGetQueryParameters { + return new PresentersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php index 2618b582268..e61067b728b 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilder.php similarity index 84% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilder.php index a0786b89e05..fd71aac63c7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { @@ -30,11 +30,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType present in the content type hub site. + * Invoke action publish * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 Find more info here */ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); @@ -45,7 +44,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType present in the content type hub site. + * Invoke action publish * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php similarity index 85% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php index 1ef848f60d3..a7740fd1b51 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Publish/PublishRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?VirtualEventSessionItemRequestBuilde } /** - * Sessions for the virtual event. + * The sessions for the virtual event. * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php index 894c72417b7..8832d48dc2f 100644 --- a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Sessions for the virtual event. + * The sessions for the virtual event. */ class VirtualEventSessionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php index 04129a87c54..9d08a0584ff 100644 --- a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sessions for the virtual event. + * The sessions for the virtual event. * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(VirtualEventSession $body, ?SessionsRequestBuilderPostReque } /** - * Sessions for the virtual event. + * The sessions for the virtual event. * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php index b4fe80aecce..668c80ba607 100644 --- a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Sessions for the virtual event. + * The sessions for the virtual event. */ class SessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php index bd30b3f2f2c..6b2f1cc916d 100644 --- a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php @@ -6,6 +6,9 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\VirtualEvent; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Events\Item\Cancel\CancelRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Events\Item\Presenters\PresentersRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Events\Item\Publish\PublishRequestBuilder; use Microsoft\Graph\Generated\Solutions\VirtualEvents\Events\Item\Sessions\SessionsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -17,6 +20,27 @@ */ class VirtualEventItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the cancel method. + */ + public function cancel(): CancelRequestBuilder { + return new CancelRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + */ + public function presenters(): PresentersRequestBuilder { + return new PresentersRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the publish method. + */ + public function publish(): PublishRequestBuilder { + return new PublishRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..a215222f832 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilderGetQueryParameters.php similarity index 90% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilderGetQueryParameters.php index 77445000048..0aea14e6d08 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8223a576e69 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b89d4a8a4a4 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php new file mode 100644 index 00000000000..2c0bb7bdd3c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php @@ -0,0 +1,146 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are:- virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventpresenter-delete?view=graph-rest-1.0 Find more info here + */ + public function delete(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventpresenter-get?view=graph-rest-1.0 Find more info here + */ + public function get(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property presenters in solutions + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are:- virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $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 presenters in solutions + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $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 VirtualEventPresenterItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventPresenterItemRequestBuilder { + return new VirtualEventPresenterItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..fa56fbcd907 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php similarity index 61% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php index f1f84a32b59..33b6af2340e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0bb7a4baa7c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventPresenterItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventPresenterItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventPresenterItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventPresenterItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventPresenterItemRequestBuilderGetQueryParameters { + return new VirtualEventPresenterItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..7a7c7c34f44 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilder.php similarity index 50% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilder.php index 1fa1c527b49..1792234c45b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilder.php @@ -1,32 +1,24 @@ pathParameters, $this->requestAdapter); - } - /** * Provides operations to count the resources in the collection. */ @@ -35,23 +27,23 @@ public function count(): CountRequestBuilder { } /** - * Provides operations to manage the worksheets property of the microsoft.graph.workbook entity. - * @param string $workbookWorksheetId The unique identifier of workbookWorksheet - * @return WorkbookWorksheetItemRequestBuilder + * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + * @param string $virtualEventPresenterId The unique identifier of virtualEventPresenter + * @return VirtualEventPresenterItemRequestBuilder */ - public function byWorkbookWorksheetId(string $workbookWorksheetId): WorkbookWorksheetItemRequestBuilder { + public function byVirtualEventPresenterId(string $virtualEventPresenterId): VirtualEventPresenterItemRequestBuilder { $urlTplParams = $this->pathParameters; - $urlTplParams['workbookWorksheet%2Did'] = $workbookWorksheetId; - return new WorkbookWorksheetItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['virtualEventPresenter%2Did'] = $virtualEventPresenterId; + return new VirtualEventPresenterItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new WorksheetsRequestBuilder and sets the default values. + * Instantiates a new PresentersRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -60,40 +52,42 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of worksheets associated with the workbook. Read-only. - * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are:- virtualEventTownhall- virtualEventWebinar + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualevent-list-presenters?view=graph-rest-1.0 Find more info here */ - public function get(?WorksheetsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheetCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenterCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to worksheets for storage - * @param WorkbookWorksheet $body The request body - * @param WorksheetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create a new virtualEventPresenter object on a virtual event. Currently, the following types of virtual events are supported: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualevent-post-presenters?view=graph-rest-1.0 Find more info here */ - public function post(WorkbookWorksheet $body, ?WorksheetsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Represents a collection of worksheets associated with the workbook. Read-only. - * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are:- virtualEventTownhall- virtualEventWebinar + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?WorksheetsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -110,12 +104,12 @@ public function toGetRequestInformation(?WorksheetsRequestBuilderGetRequestConfi } /** - * Create new navigation property to worksheets for storage - * @param WorkbookWorksheet $body The request body - * @param WorksheetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create a new virtualEventPresenter object on a virtual event. Currently, the following types of virtual events are supported: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(WorkbookWorksheet $body, ?WorksheetsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -132,10 +126,10 @@ public function toPostRequestInformation(WorkbookWorksheet $body, ?WorksheetsReq /** * 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 WorksheetsRequestBuilder + * @return PresentersRequestBuilder */ - public function withUrl(string $rawUrl): WorksheetsRequestBuilder { - return new WorksheetsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): PresentersRequestBuilder { + return new PresentersRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php similarity index 85% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php index 12f8872d08c..f4b808a25ed 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php similarity index 68% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php index ebf7cbbec13..87610b6cb71 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param TermStoresRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param PresentersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?TermStoresRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?PresentersRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new TermStoresRequestBuilderGetQueryParameters. + * Instantiates a new PresentersRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ter * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return TermStoresRequestBuilderGetQueryParameters + * @return PresentersRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TermStoresRequestBuilderGetQueryParameters { - return new TermStoresRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PresentersRequestBuilderGetQueryParameters { + return new PresentersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php index b2fc6a5d998..37f0eca4199 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..54afb995d33 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9b794b78dff --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b36907fb607 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php new file mode 100644 index 00000000000..ad46af7ce68 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. + * @param string $meetingAttendanceReportId The unique identifier of meetingAttendanceReport + * @return MeetingAttendanceReportItemRequestBuilder + */ + public function byMeetingAttendanceReportId(string $meetingAttendanceReportId): MeetingAttendanceReportItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['meetingAttendanceReport%2Did'] = $meetingAttendanceReportId; + return new MeetingAttendanceReportItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttendanceReportsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The attendance reports of an online meeting. Read-only. + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReportCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The attendance reports of an online meeting. Read-only. + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $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 AttendanceReportsRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceReportsRequestBuilder { + return new AttendanceReportsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php index 0ec4981c750..fd07e08e3ed 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php similarity index 68% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php index 4d10f5f5a2a..5fe1994845e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ItemActivityStatsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param AttendanceReportsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemActivityStatsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceReportsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ItemActivityStatsRequestBuilderGetQueryParameters. + * Instantiates a new AttendanceReportsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ite * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ItemActivityStatsRequestBuilderGetQueryParameters + * @return AttendanceReportsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemActivityStatsRequestBuilderGetQueryParameters { - return new ItemActivityStatsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceReportsRequestBuilderGetQueryParameters { + return new AttendanceReportsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php index 51c68cb0599..9fe78d26a2c 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php similarity index 91% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php index 6177321ee98..b26e848f980 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php index 6bcf07d819c..89f23218450 100644 --- a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters; - $urlTplParams['itemActivityStat%2Did'] = $itemActivityStatId; - return new ItemActivityStatItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['attendanceRecord%2Did'] = $attendanceRecordId; + return new AttendanceRecordItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new ItemActivityStatsRequestBuilder and sets the default values. + * Instantiates a new AttendanceRecordsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,40 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get itemActivityStats from storage - * @param ItemActivityStatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ItemActivityStatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStatCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecordCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to itemActivityStats for storage - * @param ItemActivityStat $body The request body - * @param ItemActivityStatsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function post(ItemActivityStat $body, ?ItemActivityStatsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStat::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Get itemActivityStats from storage - * @param ItemActivityStatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ItemActivityStatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +102,12 @@ public function toGetRequestInformation(?ItemActivityStatsRequestBuilderGetReque } /** - * Create new navigation property to itemActivityStats for storage - * @param ItemActivityStat $body The request body - * @param ItemActivityStatsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(ItemActivityStat $body, ?ItemActivityStatsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +124,10 @@ public function toPostRequestInformation(ItemActivityStat $body, ?ItemActivitySt /** * 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 ItemActivityStatsRequestBuilder + * @return AttendanceRecordsRequestBuilder */ - public function withUrl(string $rawUrl): ItemActivityStatsRequestBuilder { - return new ItemActivityStatsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): AttendanceRecordsRequestBuilder { + return new AttendanceRecordsRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php similarity index 86% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php index fad9893c131..aa4640b18a9 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php similarity index 56% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php index 074b3c15faf..22d9ec5f71a 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ExternalColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param AttendanceRecordsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ExternalColumnsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ExternalColumnsRequestBuilderGetQueryParameters. + * Instantiates a new AttendanceRecordsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ExternalColumnsRequestBuilderGetQueryParameters + * @return AttendanceRecordsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExternalColumnsRequestBuilderGetQueryParameters { - return new ExternalColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceRecordsRequestBuilderGetQueryParameters { + return new AttendanceRecordsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php similarity index 70% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php index 436659d4df1..4480d3f9acb 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/GetByPathWithPath1RequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php similarity index 89% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php index 8b156a41139..1e296a7c0ff 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php similarity index 87% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php index 94153b08c74..dd9d30e0b9e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnDefinitionItemRequestBuilder and sets the default values. + * Instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/columns/{columnDefinition%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -39,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property columns for storage - * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -53,40 +45,40 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * The collection of field definitions for this list. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property columns in storage - * @param ColumnDefinition $body The request body - * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property columns for storage - * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -100,11 +92,11 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe } /** - * The collection of field definitions for this list. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -121,12 +113,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } /** - * Update the navigation property columns in storage - * @param ColumnDefinition $body The request body - * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -143,10 +135,10 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit /** * 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 ColumnDefinitionItemRequestBuilder + * @return AttendanceRecordItemRequestBuilder */ - public function withUrl(string $rawUrl): ColumnDefinitionItemRequestBuilder { - return new ColumnDefinitionItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): AttendanceRecordItemRequestBuilder { + return new AttendanceRecordItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php index 128909db203..8d58c15c1a9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php index 5b72907c183..45a2f2ca8d2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php index f8820a3e0ae..a18e8d7be46 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ColumnDefinitionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param AttendanceRecordItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnDefinitionItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordItemRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ColumnDefinitionItemRequestBuilderGetQueryParameters. + * Instantiates a new AttendanceRecordItemRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return ColumnDefinitionItemRequestBuilderGetQueryParameters + * @return AttendanceRecordItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ColumnDefinitionItemRequestBuilderGetQueryParameters { - return new ColumnDefinitionItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttendanceRecordItemRequestBuilderGetQueryParameters { + return new AttendanceRecordItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php index e216c2ff958..8b11a296344 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php new file mode 100644 index 00000000000..5c90568d327 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The attendance reports of an online meeting. Read-only. + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The attendance reports of an online meeting. Read-only. + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $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 attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $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 MeetingAttendanceReportItemRequestBuilder + */ + public function withUrl(string $rawUrl): MeetingAttendanceReportItemRequestBuilder { + return new MeetingAttendanceReportItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php similarity index 65% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php index e71c16d293c..829209158db 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php similarity index 66% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php index c45e2f238f3..6884a727995 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0dc50b2d914 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MeetingAttendanceReportItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MeetingAttendanceReportItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MeetingAttendanceReportItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MeetingAttendanceReportItemRequestBuilderGetQueryParameters { + return new MeetingAttendanceReportItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php similarity index 63% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php index 6dafa528237..f25d17e90db 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php index fe1f36a53d8..1e010de2026 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php @@ -1,44 +1,36 @@ pathParameters, $this->requestAdapter); + public function attendanceReports(): AttendanceReportsRequestBuilder { + return new AttendanceReportsRequestBuilder($this->pathParameters, $this->requestAdapter); } /** - * Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. - */ - public function points(): PointsRequestBuilder { - return new PointsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookChartSeriesItemRequestBuilder and sets the default values. + * Instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -47,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property series for storage - * @param WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -61,40 +53,40 @@ public function delete(?WorkbookChartSeriesItemRequestBuilderDeleteRequestConfig } /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The sessions for the virtual event. + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property series in storage - * @param WorkbookChartSeries $body The request body - * @param WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(WorkbookChartSeries $body, ?WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property series for storage - * @param WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -108,11 +100,11 @@ public function toDeleteRequestInformation(?WorkbookChartSeriesItemRequestBuilde } /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The sessions for the virtual event. + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -129,12 +121,12 @@ public function toGetRequestInformation(?WorkbookChartSeriesItemRequestBuilderGe } /** - * Update the navigation property series in storage - * @param WorkbookChartSeries $body The request body - * @param WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookChartSeries $body, ?WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -151,10 +143,10 @@ public function toPatchRequestInformation(WorkbookChartSeries $body, ?WorkbookCh /** * 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 WorkbookChartSeriesItemRequestBuilder + * @return VirtualEventSessionItemRequestBuilder */ - public function withUrl(string $rawUrl): WorkbookChartSeriesItemRequestBuilder { - return new WorkbookChartSeriesItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): VirtualEventSessionItemRequestBuilder { + return new VirtualEventSessionItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php index b4c219a7d81..1608da170de 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php index 0b8168e7a06..4680b6fa5a8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php similarity index 60% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php index 57e3d17415f..af5b6c2442b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param WorkbookTableColumnItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param VirtualEventSessionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableColumnItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventSessionItemRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new WorkbookTableColumnItemRequestBuilderGetQueryParameters. + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return WorkbookTableColumnItemRequestBuilderGetQueryParameters + * @return VirtualEventSessionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableColumnItemRequestBuilderGetQueryParameters { - return new WorkbookTableColumnItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventSessionItemRequestBuilderGetQueryParameters { + return new VirtualEventSessionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php index 923194f382a..ddd8da32980 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilder.php similarity index 56% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilder.php index 33345fc63a6..eb1f3061bfc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['workbookComment%2Did'] = $workbookCommentId; - return new WorkbookCommentItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['virtualEventSession%2Did'] = $virtualEventSessionId; + return new VirtualEventSessionItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new CommentsRequestBuilder and sets the default values. + * Instantiates a new SessionsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,40 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents a collection of comments in a workbook. - * @param CommentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The sessions for the virtual event. + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?CommentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookCommentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSessionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to comments for storage - * @param WorkbookComment $body The request body - * @param CommentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function post(WorkbookComment $body, ?CommentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookComment::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Represents a collection of comments in a workbook. - * @param CommentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The sessions for the virtual event. + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?CommentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +102,12 @@ public function toGetRequestInformation(?CommentsRequestBuilderGetRequestConfigu } /** - * Create new navigation property to comments for storage - * @param WorkbookComment $body The request body - * @param CommentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(WorkbookComment $body, ?CommentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +124,10 @@ public function toPostRequestInformation(WorkbookComment $body, ?CommentsRequest /** * 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 CommentsRequestBuilder + * @return SessionsRequestBuilder */ - public function withUrl(string $rawUrl): CommentsRequestBuilder { - return new CommentsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): SessionsRequestBuilder { + return new SessionsRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php index 1f0b2c69f80..a7e66d5120b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php index 4b16d817938..3033ce403a3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ChildrenRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param SessionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ChildrenRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?SessionsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ChildrenRequestBuilderGetQueryParameters. + * Instantiates a new SessionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Chi * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ChildrenRequestBuilderGetQueryParameters + * @return SessionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ChildrenRequestBuilderGetQueryParameters { - return new ChildrenRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SessionsRequestBuilderGetQueryParameters { + return new SessionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php index c5a291cfa84..b1e9c0c732a 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilder.php similarity index 58% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilder.php index dc146e5b5ff..7e7996c02c7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilder.php @@ -1,28 +1,44 @@ pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + */ + public function sessions(): SessionsRequestBuilder { + return new SessionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventTownhallItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +47,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property replies for storage - * @param WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property townhalls for solutions + * @param VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +61,42 @@ public function delete(?WorkbookCommentReplyItemRequestBuilderDeleteRequestConfi } /** - * Get replies from storage - * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Read the properties and relationships of a virtualEventTownhall object. + * @param VirtualEventTownhallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventtownhall-get?view=graph-rest-1.0 Find more info here */ - public function get(?WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?VirtualEventTownhallItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookCommentReply::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventTownhall::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property replies in storage - * @param WorkbookCommentReply $body The request body - * @param WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the properties of a virtualEventTownhall object. + * @param VirtualEventTownhall $body The request body + * @param VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventtownhall-update?view=graph-rest-1.0 Find more info here */ - public function patch(WorkbookCommentReply $body, ?WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventTownhall $body, ?VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookCommentReply::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventTownhall::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property replies for storage - * @param WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property townhalls for solutions + * @param VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +110,11 @@ public function toDeleteRequestInformation(?WorkbookCommentReplyItemRequestBuild } /** - * Get replies from storage - * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Read the properties and relationships of a virtualEventTownhall object. + * @param VirtualEventTownhallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?VirtualEventTownhallItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +131,12 @@ public function toGetRequestInformation(?WorkbookCommentReplyItemRequestBuilderG } /** - * Update the navigation property replies in storage - * @param WorkbookCommentReply $body The request body - * @param WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the properties of a virtualEventTownhall object. + * @param VirtualEventTownhall $body The request body + * @param VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookCommentReply $body, ?WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventTownhall $body, ?VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +153,10 @@ public function toPatchRequestInformation(WorkbookCommentReply $body, ?WorkbookC /** * 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 WorkbookCommentReplyItemRequestBuilder + * @return VirtualEventTownhallItemRequestBuilder */ - public function withUrl(string $rawUrl): WorkbookCommentReplyItemRequestBuilder { - return new WorkbookCommentReplyItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): VirtualEventTownhallItemRequestBuilder { + return new VirtualEventTownhallItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration.php index b51f9536b24..f2f01b8719c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetQueryParameters.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetQueryParameters.php index b823308e14f..218d17fd03a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetRequestConfiguration.php similarity index 60% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetRequestConfiguration.php index f94733f5eb1..91b2739e548 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param WorkbookCommentReplyItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param VirtualEventTownhallItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookCommentReplyItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventTownhallItemRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new WorkbookCommentReplyItemRequestBuilderGetQueryParameters. + * Instantiates a new VirtualEventTownhallItemRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return WorkbookCommentReplyItemRequestBuilderGetQueryParameters + * @return VirtualEventTownhallItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookCommentReplyItemRequestBuilderGetQueryParameters { - return new WorkbookCommentReplyItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventTownhallItemRequestBuilderGetQueryParameters { + return new VirtualEventTownhallItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration.php index b9f5ad8061b..df14b6db82a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/Item/VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilder.php new file mode 100644 index 00000000000..f1179f69ac0 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. + * @param string $virtualEventTownhallId The unique identifier of virtualEventTownhall + * @return VirtualEventTownhallItemRequestBuilder + */ + public function byVirtualEventTownhallId(string $virtualEventTownhallId): VirtualEventTownhallItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventTownhall%2Did'] = $virtualEventTownhallId; + return new VirtualEventTownhallItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TownhallsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/townhalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Read the properties and relationships of a virtualEventTownhall object. + * @param TownhallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TownhallsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventTownhallCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new virtualEventTownhall object in draft mode. + * @param VirtualEventTownhall $body The request body + * @param TownhallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventsroot-post-townhalls?view=graph-rest-1.0 Find more info here + */ + public function post(VirtualEventTownhall $body, ?TownhallsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventTownhall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Read the properties and relationships of a virtualEventTownhall object. + * @param TownhallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TownhallsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create a new virtualEventTownhall object in draft mode. + * @param VirtualEventTownhall $body The request body + * @param TownhallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventTownhall $body, ?TownhallsRequestBuilderPostRequestConfiguration $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 TownhallsRequestBuilder + */ + public function withUrl(string $rawUrl): TownhallsRequestBuilder { + return new TownhallsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetQueryParameters.php index 6801672e3c0..3c8c4049083 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetRequestConfiguration.php similarity index 68% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetRequestConfiguration.php index a4829918225..fe7d91543b0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param FollowingRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param TownhallsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?FollowingRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?TownhallsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new FollowingRequestBuilderGetQueryParameters. + * Instantiates a new TownhallsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Fol * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return FollowingRequestBuilderGetQueryParameters + * @return TownhallsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): FollowingRequestBuilderGetQueryParameters { - return new FollowingRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TownhallsRequestBuilderGetQueryParameters { + return new TownhallsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderPostRequestConfiguration.php index e6b9ad87f08..a1ef703b9eb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Townhalls/TownhallsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php index 8bc17d32e09..458880a962f 100644 --- a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\VirtualEventsRoot; use Microsoft\Graph\Generated\Solutions\VirtualEvents\Events\EventsRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Townhalls\TownhallsRequestBuilder; use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\WebinarsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -25,6 +26,13 @@ public function events(): EventsRequestBuilder { return new EventsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. + */ + public function townhalls(): TownhallsRequestBuilder { + return new TownhallsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..644d5399240 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0d1ba4776ba --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..288d24bfa05 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php similarity index 50% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php index 3b796e21bfa..fbe9d0e68e0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilder.php @@ -1,28 +1,28 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/fields{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property presenters for solutions + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?FieldsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +45,41 @@ public function delete(?FieldsRequestBuilderDeleteRequestConfiguration $requestC } /** - * A collection of the fields and values for this version of the list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The virtual event presenters. + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the properties of a virtualEventPresenter object. Currently the supported virtual event types are:- virtualEventWebinar. + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventpresenter-update?view=graph-rest-1.0 Find more info here */ - public function patch(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property presenters for solutions + * @param VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +93,11 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon } /** - * A collection of the fields and values for this version of the list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The virtual event presenters. + * @param VirtualEventPresenterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?VirtualEventPresenterItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +114,12 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } /** - * Update the navigation property fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the properties of a virtualEventPresenter object. Currently the supported virtual event types are:- virtualEventWebinar. + * @param VirtualEventPresenter $body The request body + * @param VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventPresenter $body, ?VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +136,10 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui /** * 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 FieldsRequestBuilder + * @return VirtualEventPresenterItemRequestBuilder */ - public function withUrl(string $rawUrl): FieldsRequestBuilder { - return new FieldsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): VirtualEventPresenterItemRequestBuilder { + return new VirtualEventPresenterItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..bc4e5713d7b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration.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/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cd7e851f642 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetQueryParameters.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 VirtualEventPresenterItemRequestBuilderGetQueryParameters 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/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8b15da7e03d --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventPresenterItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventPresenterItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventPresenterItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventPresenterItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventPresenterItemRequestBuilderGetQueryParameters { + return new VirtualEventPresenterItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php similarity index 62% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php index 285b313f481..1e36f37962b 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/Item/VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilder.php similarity index 53% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilder.php index 2f6f6ce6d59..ca29975bb3d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['richLongRunningOperation%2Did'] = $richLongRunningOperationId; - return new RichLongRunningOperationItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['virtualEventPresenter%2Did'] = $virtualEventPresenterId; + return new VirtualEventPresenterItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new OperationsRequestBuilder and sets the default values. + * Instantiates a new PresentersRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,41 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The collection of long-running operations on the list. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The virtual event presenters. + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenterCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to operations for storage - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create a new virtualEventPresenter object on a virtual event. Currently, the following types of virtual events are supported: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualevent-post-presenters?view=graph-rest-1.0 Find more info here */ - public function post(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [RichLongRunningOperation::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventPresenter::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * The collection of long-running operations on the list. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The virtual event presenters. + * @param PresentersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?PresentersRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +103,12 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } /** - * Create new navigation property to operations for storage - * @param RichLongRunningOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create a new virtualEventPresenter object on a virtual event. Currently, the following types of virtual events are supported: - virtualEventTownhall- virtualEventWebinar + * @param VirtualEventPresenter $body The request body + * @param PresentersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(RichLongRunningOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(VirtualEventPresenter $body, ?PresentersRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +125,10 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat /** * 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 OperationsRequestBuilder + * @return PresentersRequestBuilder */ - public function withUrl(string $rawUrl): OperationsRequestBuilder { - return new OperationsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): PresentersRequestBuilder { + return new PresentersRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php index ff480b4594f..adda11ab89d 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php similarity index 68% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php index 92288341999..94e532040a5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ThumbnailsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param PresentersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ThumbnailsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?PresentersRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ThumbnailsRequestBuilderGetQueryParameters. + * Instantiates a new PresentersRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Thu * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ThumbnailsRequestBuilderGetQueryParameters + * @return PresentersRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ThumbnailsRequestBuilderGetQueryParameters { - return new ThumbnailsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PresentersRequestBuilderGetQueryParameters { + return new PresentersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php index 42a89b3654d..3aac4184e8f 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStores/TermStoresRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Presenters/PresentersRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilder.php similarity index 91% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilder.php index d7f14ce1007..c58c89679de 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8d0d182fd21 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8a2a8b346a7 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.php new file mode 100644 index 00000000000..d7094d19437 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilder.php @@ -0,0 +1,145 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrationConfiguration/questions/{virtualEventRegistrationQuestionBase%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a registration question from a webinar. The question can either be a predefined registration question or a custom registration question. + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistrationquestionbase-delete?view=graph-rest-1.0 Find more info here + */ + public function delete(?VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Registration questions. + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistrationQuestionBase::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property questions in solutions + * @param VirtualEventRegistrationQuestionBase $body The request body + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventRegistrationQuestionBase $body, ?VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistrationQuestionBase::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a registration question from a webinar. The question can either be a predefined registration question or a custom registration question. + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Registration questions. + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration $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 questions in solutions + * @param VirtualEventRegistrationQuestionBase $body The request body + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventRegistrationQuestionBase $body, ?VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration $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 VirtualEventRegistrationQuestionBaseItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventRegistrationQuestionBaseItemRequestBuilder { + return new VirtualEventRegistrationQuestionBaseItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..180dd978d21 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderDeleteRequestConfiguration.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/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters.php similarity index 66% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters.php index 45c7129467b..5e8d60d3067 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..62d57f966ac --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters { + return new VirtualEventRegistrationQuestionBaseItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f6b043137b5 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/Item/VirtualEventRegistrationQuestionBaseItemRequestBuilderPatchRequestConfiguration.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/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilder.php new file mode 100644 index 00000000000..34a71323fd4 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the questions property of the microsoft.graph.virtualEventRegistrationConfiguration entity. + * @param string $virtualEventRegistrationQuestionBaseId The unique identifier of virtualEventRegistrationQuestionBase + * @return VirtualEventRegistrationQuestionBaseItemRequestBuilder + */ + public function byVirtualEventRegistrationQuestionBaseId(string $virtualEventRegistrationQuestionBaseId): VirtualEventRegistrationQuestionBaseItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventRegistrationQuestionBase%2Did'] = $virtualEventRegistrationQuestionBaseId; + return new VirtualEventRegistrationQuestionBaseItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new QuestionsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrationConfiguration/questions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of all registration questions for a webinar. The list can include either predefined registration questions or custom registration questions. + * @param QuestionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistrationconfiguration-list-questions?view=graph-rest-1.0 Find more info here + */ + public function get(?QuestionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistrationQuestionBaseCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a registration question for a webinar. You can create either a predefined registration question or a custom registration question. + * @param VirtualEventRegistrationQuestionBase $body The request body + * @param QuestionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistrationconfiguration-post-questions?view=graph-rest-1.0 Find more info here + */ + public function post(VirtualEventRegistrationQuestionBase $body, ?QuestionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistrationQuestionBase::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of all registration questions for a webinar. The list can include either predefined registration questions or custom registration questions. + * @param QuestionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?QuestionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create a registration question for a webinar. You can create either a predefined registration question or a custom registration question. + * @param VirtualEventRegistrationQuestionBase $body The request body + * @param QuestionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventRegistrationQuestionBase $body, ?QuestionsRequestBuilderPostRequestConfiguration $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 QuestionsRequestBuilder + */ + public function withUrl(string $rawUrl): QuestionsRequestBuilder { + return new QuestionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetQueryParameters.php similarity index 85% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetQueryParameters.php index bf019f9acbf..02f2ea6114f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetRequestConfiguration.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetRequestConfiguration.php index 5aad7325e48..a1f44243808 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param BaseTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param QuestionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?BaseTypesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?QuestionsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new BaseTypesRequestBuilderGetQueryParameters. + * Instantiates a new QuestionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Bas * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return BaseTypesRequestBuilderGetQueryParameters + * @return QuestionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): BaseTypesRequestBuilderGetQueryParameters { - return new BaseTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): QuestionsRequestBuilderGetQueryParameters { + return new QuestionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderPostRequestConfiguration.php similarity index 71% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderPostRequestConfiguration.php index 696f2804e5e..3a908234393 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/Questions/QuestionsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilder.php new file mode 100644 index 00000000000..abff7acabbb --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilder.php @@ -0,0 +1,153 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new RegistrationConfigurationRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrationConfiguration{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property registrationConfiguration for solutions + * @param RegistrationConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?RegistrationConfigurationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of a virtualEventWebinarRegistrationConfiguration object. + * @param RegistrationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventwebinarregistrationconfiguration-get?view=graph-rest-1.0 Find more info here + */ + public function get(?RegistrationConfigurationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinarRegistrationConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property registrationConfiguration in solutions + * @param VirtualEventWebinarRegistrationConfiguration $body The request body + * @param RegistrationConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventWebinarRegistrationConfiguration $body, ?RegistrationConfigurationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinarRegistrationConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property registrationConfiguration for solutions + * @param RegistrationConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RegistrationConfigurationRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Read the properties and relationships of a virtualEventWebinarRegistrationConfiguration object. + * @param RegistrationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RegistrationConfigurationRequestBuilderGetRequestConfiguration $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 registrationConfiguration in solutions + * @param VirtualEventWebinarRegistrationConfiguration $body The request body + * @param RegistrationConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventWebinarRegistrationConfiguration $body, ?RegistrationConfigurationRequestBuilderPatchRequestConfiguration $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 RegistrationConfigurationRequestBuilder + */ + public function withUrl(string $rawUrl): RegistrationConfigurationRequestBuilder { + return new RegistrationConfigurationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0d8f6576e76 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderDeleteRequestConfiguration.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/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetQueryParameters.php similarity index 64% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetQueryParameters.php index 7aac9ed8d99..ebd4bfa253a 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5d2cd7d6631 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RegistrationConfigurationRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RegistrationConfigurationRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RegistrationConfigurationRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RegistrationConfigurationRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RegistrationConfigurationRequestBuilderGetQueryParameters { + return new RegistrationConfigurationRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..190cdd91ec2 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationConfiguration/RegistrationConfigurationRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilder.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilder.php index 16a9e722585..a17b657ab0c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/unfollow'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/cancel'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,13 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unfollow a driveItem. - * @param UnfollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-unfollow?view=graph-rest-1.0 Find more info here */ - public function post(?UnfollowRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,11 +44,11 @@ public function post(?UnfollowRequestBuilderPostRequestConfiguration $requestCon } /** - * Unfollow a driveItem. - * @param UnfollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?UnfollowRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -65,10 +64,10 @@ public function toPostRequestInformation(?UnfollowRequestBuilderPostRequestConfi /** * 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 UnfollowRequestBuilder + * @return CancelRequestBuilder */ - public function withUrl(string $rawUrl): UnfollowRequestBuilder { - return new UnfollowRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): CancelRequestBuilder { + return new CancelRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderPutRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php index 47dd138b1f3..149a92f8ebd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Cancel/CancelRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..5f3c3406bce --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php index 6b929607a5d..e8d94bba5ec 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/getActivitiesByInterval(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,25 +31,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Sessions for a registration. + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?GetActivitiesByIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [GetActivitiesByIntervalGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Sessions for a registration. + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -67,10 +68,10 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe /** * 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 GetActivitiesByIntervalRequestBuilder + * @return VirtualEventSessionItemRequestBuilder */ - public function withUrl(string $rawUrl): GetActivitiesByIntervalRequestBuilder { - return new GetActivitiesByIntervalRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): VirtualEventSessionItemRequestBuilder { + return new VirtualEventSessionItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php similarity index 68% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php index 05c36812bf2..fb9d9368765 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php index 7670c6c43c9..c86d54862a9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param WorkbookChartSeriesItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param VirtualEventSessionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookChartSeriesItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventSessionItemRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new WorkbookChartSeriesItemRequestBuilderGetQueryParameters. + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return WorkbookChartSeriesItemRequestBuilderGetQueryParameters + * @return VirtualEventSessionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookChartSeriesItemRequestBuilderGetQueryParameters { - return new WorkbookChartSeriesItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventSessionItemRequestBuilderGetQueryParameters { + return new VirtualEventSessionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.php new file mode 100644 index 00000000000..9c0a0df6d64 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilder.php @@ -0,0 +1,98 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. + * @param string $virtualEventSessionId The unique identifier of virtualEventSession + * @return VirtualEventSessionItemRequestBuilder + */ + public function byVirtualEventSessionId(string $virtualEventSessionId): VirtualEventSessionItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventSession%2Did'] = $virtualEventSessionId; + return new VirtualEventSessionItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new SessionsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistration-list-sessions?view=graph-rest-1.0 Find more info here + */ + public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSessionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return SessionsRequestBuilder + */ + public function withUrl(string $rawUrl): SessionsRequestBuilder { + return new SessionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php similarity index 80% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php index 19580408ff2..0abd7f6d8e3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php index 0762d92cb36..32f405ec3b8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param CommentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param SessionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?CommentsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?SessionsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new CommentsRequestBuilderGetQueryParameters. + * Instantiates a new SessionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Com * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return CommentsRequestBuilderGetQueryParameters + * @return SessionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CommentsRequestBuilderGetQueryParameters { - return new CommentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SessionsRequestBuilderGetQueryParameters { + return new SessionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php index 715743ad2ef..cb415944f55 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php @@ -6,6 +6,8 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\VirtualEventRegistration; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\Registrations\Item\Cancel\CancelRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\Registrations\Item\Sessions\SessionsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +18,20 @@ */ class VirtualEventRegistrationItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the cancel method. + */ + public function cancel(): CancelRequestBuilder { + return new CancelRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. + */ + public function sessions(): SessionsRequestBuilder { + return new SessionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new VirtualEventRegistrationItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php index 54c38ac5874..f9dc6a59cdf 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php @@ -56,7 +56,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param RegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/virtualeventwebinar-list-registrations?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/virtualeventregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?RegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,11 +67,12 @@ public function get(?RegistrationsRequestBuilderGetRequestConfiguration $request } /** - * Create new navigation property to registrations for solutions + * Create a registration record for a registrant of a webinar. This method registers the person for the webinar. * @param VirtualEventRegistration $body The request body * @param RegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventwebinar-post-registrations?view=graph-rest-1.0 Find more info here */ public function post(VirtualEventRegistration $body, ?RegistrationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -103,7 +104,7 @@ public function toGetRequestInformation(?RegistrationsRequestBuilderGetRequestCo } /** - * Create new navigation property to registrations for solutions + * Create a registration record for a registrant of a webinar. This method registers the person for the webinar. * @param VirtualEventRegistration $body The request body * @param RegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilder.php similarity index 57% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilder.php index 9fae7f415b7..189b5478c75 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/restore'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email=\'{email}\')/cancel'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,13 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a document set version. - * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,11 +44,11 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a document set version. - * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -65,10 +64,10 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. - * @return RestoreRequestBuilder + * @return CancelRequestBuilder */ - public function withUrl(string $rawUrl): RestoreRequestBuilder { - return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): CancelRequestBuilder { + return new CancelRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilderPostRequestConfiguration.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderPutRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilderPostRequestConfiguration.php index c15f514b6b7..0a251284d9c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/Cancel/CancelRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilder.php similarity index 58% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilder.php index 434b82bb4fb..e1d1a941d09 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilder.php @@ -1,50 +1,53 @@ pathParameters, $this->requestAdapter); + public function cancel(): CancelRequestBuilder { + return new CancelRequestBuilder($this->pathParameters, $this->requestAdapter); } /** - * Instantiates a new WorkbookChartPointItemRequestBuilder and sets the default values. + * Instantiates a new RegistrationsWithEmailRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $email Alternate key of virtualEventRegistration */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}{?%24expand,%24select}'); + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $email = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(email=\'{email}\'){?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['email'] = $email; + $this->pathParameters = $urlTplParams; } else { $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; } } /** - * Delete navigation property points for storage - * @param WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property registrations for solutions + * @param RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -53,40 +56,41 @@ public function delete(?WorkbookChartPointItemRequestBuilderDeleteRequestConfigu } /** - * Represents a collection of all points in the series. Read-only. - * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get the properties and relationships of a virtualEventRegistration object. + * @param RegistrationsWithEmailRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 Find more info here */ - public function get(?WorkbookChartPointItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?RegistrationsWithEmailRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPoint::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property points in storage - * @param WorkbookChartPoint $body The request body - * @param WorkbookChartPointItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsWithEmailRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(WorkbookChartPoint $body, ?WorkbookChartPointItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventRegistration $body, ?RegistrationsWithEmailRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPoint::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property points for storage - * @param WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property registrations for solutions + * @param RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -100,11 +104,11 @@ public function toDeleteRequestInformation(?WorkbookChartPointItemRequestBuilder } /** - * Represents a collection of all points in the series. Read-only. - * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the properties and relationships of a virtualEventRegistration object. + * @param RegistrationsWithEmailRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?WorkbookChartPointItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?RegistrationsWithEmailRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -121,12 +125,12 @@ public function toGetRequestInformation(?WorkbookChartPointItemRequestBuilderGet } /** - * Update the navigation property points in storage - * @param WorkbookChartPoint $body The request body - * @param WorkbookChartPointItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsWithEmailRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookChartPoint $body, ?WorkbookChartPointItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventRegistration $body, ?RegistrationsWithEmailRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -143,10 +147,10 @@ public function toPatchRequestInformation(WorkbookChartPoint $body, ?WorkbookCha /** * 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 WorkbookChartPointItemRequestBuilder + * @return RegistrationsWithEmailRequestBuilder */ - public function withUrl(string $rawUrl): WorkbookChartPointItemRequestBuilder { - return new WorkbookChartPointItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): RegistrationsWithEmailRequestBuilder { + return new RegistrationsWithEmailRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration.php index 4d2c05a59f2..c6d00a4d100 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetQueryParameters.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetQueryParameters.php index 5f827340a88..03bd59a2db5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetRequestConfiguration.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetRequestConfiguration.php index 5ab8c57d5d4..7341f2cc3f3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param DocumentSetVersionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param RegistrationsWithEmailRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?DocumentSetVersionItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?RegistrationsWithEmailRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new DocumentSetVersionItemRequestBuilderGetQueryParameters. + * Instantiates a new RegistrationsWithEmailRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return DocumentSetVersionItemRequestBuilderGetQueryParameters + * @return RegistrationsWithEmailRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DocumentSetVersionItemRequestBuilderGetQueryParameters { - return new DocumentSetVersionItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): RegistrationsWithEmailRequestBuilderGetQueryParameters { + return new RegistrationsWithEmailRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderPatchRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderPatchRequestConfiguration.php index fa09c888c7d..6ec76462ba4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithEmail/RegistrationsWithEmailRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilder.php similarity index 57% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilder.php index a0d0f126ba3..4988d3c6f73 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/clear'); + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(userId=\'{userId}\')/cancel'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,13 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the filter on the given column. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-1.0 Find more info here */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,11 +44,11 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the filter on the given column. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Cancel a registrant's registration record for a webinar. + * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -65,10 +64,10 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur /** * 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 ClearRequestBuilder + * @return CancelRequestBuilder */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): CancelRequestBuilder { + return new CancelRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..444437ed1be --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/Cancel/CancelRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilder.php similarity index 50% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilder.php index 978f561757b..c20af990197 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilder.php @@ -1,82 +1,53 @@ pathParameters, $this->requestAdapter); + public function cancel(): CancelRequestBuilder { + return new CancelRequestBuilder($this->pathParameters, $this->requestAdapter); } /** - * Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. - */ - public function filter(): FilterRequestBuilder { - return new FilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableColumnItemRequestBuilder and sets the default values. + * Instantiates a new RegistrationsWithUserIdRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $userId Alternate key of virtualEventRegistration */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}{?%24expand,%24select}'); + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $userId = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations(userId=\'{userId}\'){?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['userId'] = $userId; + $this->pathParameters = $urlTplParams; } else { $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; } } /** - * Delete navigation property columns for storage - * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property registrations for solutions + * @param RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -85,40 +56,41 @@ public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfig } /** - * Represents a collection of all the columns in the table. Read-only. - * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get the properties and relationships of a virtualEventRegistration object. + * @param RegistrationsWithUserIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 Find more info here */ - public function get(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?RegistrationsWithUserIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property columns in storage - * @param WorkbookTableColumn $body The request body - * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(VirtualEventRegistration $body, ?RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property columns for storage - * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property registrations for solutions + * @param RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -132,11 +104,11 @@ public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilde } /** - * Represents a collection of all the columns in the table. Read-only. - * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the properties and relationships of a virtualEventRegistration object. + * @param RegistrationsWithUserIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?RegistrationsWithUserIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -153,12 +125,12 @@ public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGe } /** - * Update the navigation property columns in storage - * @param WorkbookTableColumn $body The request body - * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(VirtualEventRegistration $body, ?RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -175,10 +147,10 @@ public function toPatchRequestInformation(WorkbookTableColumn $body, ?WorkbookTa /** * 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 WorkbookTableColumnItemRequestBuilder + * @return RegistrationsWithUserIdRequestBuilder */ - public function withUrl(string $rawUrl): WorkbookTableColumnItemRequestBuilder { - return new WorkbookTableColumnItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): RegistrationsWithUserIdRequestBuilder { + return new RegistrationsWithUserIdRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration.php index 160d841ba62..9dff5e92123 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetQueryParameters.php similarity index 68% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetQueryParameters.php index 0dbb276339b..a120f7059d4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetRequestConfiguration.php similarity index 59% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetRequestConfiguration.php index c4b6abfd875..d0d9365eca9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param WorkbookTableColumnItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param RegistrationsWithUserIdRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableColumnItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?RegistrationsWithUserIdRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new WorkbookTableColumnItemRequestBuilderGetQueryParameters. + * Instantiates a new RegistrationsWithUserIdRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return WorkbookTableColumnItemRequestBuilderGetQueryParameters + * @return RegistrationsWithUserIdRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableColumnItemRequestBuilderGetQueryParameters { - return new WorkbookTableColumnItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): RegistrationsWithUserIdRequestBuilderGetQueryParameters { + return new RegistrationsWithUserIdRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration.php similarity index 69% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration.php index 909bed755ea..dae2c4cb1b8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/RegistrationsWithUserId/RegistrationsWithUserIdRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php index 70134a28043..4fe526d6fae 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestCo } /** - * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBu } /** - * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php index ecb94e21221..e5fe70231ea 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. */ class MeetingAttendanceReportItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php index 28f449c676f..2f755cdbd71 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?VirtualEventSessionItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a virtualEventSession object. + * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?VirtualEventSessionItemRequestBuilde } /** - * Read the properties and relationships of a virtualEventSession object. + * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php index ee5e6f30f7d..509ccaec1da 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a virtualEventSession object. + * Read the properties and relationships of a virtualEventSession object. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar */ class VirtualEventSessionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php index 0eef6e171ce..a2dec7fc362 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a virtualEventSession object. + * Get a list of all virtualEventSession summary objects under a virtual event. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualevent-list-sessions?view=graph-rest-1.0 Find more info here */ public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(VirtualEventSession $body, ?SessionsRequestBuilderPostReque } /** - * Read the properties and relationships of a virtualEventSession object. + * Get a list of all virtualEventSession summary objects under a virtual event. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php index f741afd1dca..a2c925820eb 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a virtualEventSession object. + * Get a list of all virtualEventSession summary objects under a virtual event. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. Currently, the following virtual event types are supported: - virtualEventTownhall- virtualEventWebinar */ class SessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php index c5a9723f71a..15a72cbc320 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php @@ -6,7 +6,11 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\VirtualEventWebinar; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\Presenters\PresentersRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\RegistrationConfiguration\RegistrationConfigurationRequestBuilder; use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\Registrations\RegistrationsRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\RegistrationsWithEmail\RegistrationsWithEmailRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\RegistrationsWithUserId\RegistrationsWithUserIdRequestBuilder; use Microsoft\Graph\Generated\Solutions\VirtualEvents\Webinars\Item\Sessions\SessionsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -18,6 +22,20 @@ */ class VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + */ + public function presenters(): PresentersRequestBuilder { + return new PresentersRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the registrationConfiguration property of the microsoft.graph.virtualEventWebinar entity. + */ + public function registrationConfiguration(): RegistrationConfigurationRequestBuilder { + return new RegistrationConfigurationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. */ @@ -76,11 +94,12 @@ public function get(?VirtualEventWebinarItemRequestBuilderGetRequestConfiguratio } /** - * Update the navigation property webinars in solutions + * Update the properties of a virtualEventWebinar object. * @param VirtualEventWebinar $body The request body * @param VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventwebinar-update?view=graph-rest-1.0 Find more info here */ public function patch(VirtualEventWebinar $body, ?VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,6 +109,24 @@ public function patch(VirtualEventWebinar $body, ?VirtualEventWebinarItemRequest return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinar::class, 'createFromDiscriminatorValue'], $errorMappings); } + /** + * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + * @param string $email Alternate key of virtualEventRegistration + * @return RegistrationsWithEmailRequestBuilder + */ + public function registrationsWithEmail(string $email): RegistrationsWithEmailRequestBuilder { + return new RegistrationsWithEmailRequestBuilder($this->pathParameters, $this->requestAdapter, $email); + } + + /** + * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + * @param string $userId Alternate key of virtualEventRegistration + * @return RegistrationsWithUserIdRequestBuilder + */ + public function registrationsWithUserId(string $userId): RegistrationsWithUserIdRequestBuilder { + return new RegistrationsWithUserIdRequestBuilder($this->pathParameters, $this->requestAdapter, $userId); + } + /** * Delete navigation property webinars for solutions * @param VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +167,7 @@ public function toGetRequestInformation(?VirtualEventWebinarItemRequestBuilderGe } /** - * Update the navigation property webinars in solutions + * Update the properties of a virtualEventWebinar object. * @param VirtualEventWebinar $body The request body * @param VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php index 316860ccaf6..e99cf405d2d 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php @@ -88,11 +88,12 @@ public function getByUserRoleWithRole(string $role): GetByUserRoleWithRoleReques } /** - * Create new navigation property to webinars for solutions + * Create a new virtualEventWebinar object in draft mode. * @param VirtualEventWebinar $body The request body * @param WebinarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/virtualeventsroot-post-webinars?view=graph-rest-1.0 Find more info here */ public function post(VirtualEventWebinar $body, ?WebinarsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -124,7 +125,7 @@ public function toGetRequestInformation(?WebinarsRequestBuilderGetRequestConfigu } /** - * Create new navigation property to webinars for solutions + * Create a new virtualEventWebinar object in draft mode. * @param VirtualEventWebinar $body The request body * @param WebinarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilder.php deleted file mode 100644 index 3e984eaa441..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the bundles property of the microsoft.graph.drive entity. - * @param string $driveItemId The unique identifier of driveItem - * @return DriveItemItemRequestBuilder - */ - public function byDriveItemId(string $driveItemId): DriveItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['driveItem%2Did'] = $driveItemId; - return new DriveItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new BundlesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/bundles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. - * @param BundlesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?BundlesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to bundles for storage - * @param DriveItem $body The request body - * @param BundlesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DriveItem $body, ?BundlesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. - * @param BundlesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?BundlesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to bundles for storage - * @param DriveItem $body The request body - * @param BundlesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DriveItem $body, ?BundlesRequestBuilderPostRequestConfiguration $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 BundlesRequestBuilder - */ - public function withUrl(string $rawUrl): BundlesRequestBuilder { - return new BundlesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetQueryParameters.php deleted file mode 100644 index e750341b7dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new BundlesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d629b8bd5b5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/BundlesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param BundlesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?BundlesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new BundlesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return BundlesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): BundlesRequestBuilderGetQueryParameters { - return new BundlesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index 00d76214cde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/bundles/{driveItem%2Did}/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index fb2706db1a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7c2487d85a4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e15939b3f73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilder.php deleted file mode 100644 index fee4d4e2083..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/bundles/{driveItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemItemRequestBuilder { - return new DriveItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 925972e8549..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9e260a9049a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Bundles/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemItemRequestBuilderGetQueryParameters { - return new DriveItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilder.php deleted file mode 100644 index df7a257b004..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new CreatedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/createdByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CreatedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1a01b79785b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CreatedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7f1e62c977a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index 5d4535a8631..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/createdByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2de0e36a8b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b23bae2ce6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 9c34bb82559..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index efdb12d534e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 13a81cd2361..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4624774a262..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index d272ad03395..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index cfbd72c819a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6287ff3ea41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilder.php index ae73ddfd61f..7c0e8131c75 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilder.php @@ -6,17 +6,6 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Drive; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Bundles\BundlesRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\CreatedByUser\CreatedByUserRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\EscapedList\ListRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Following\FollowingRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\ItemsRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\LastModifiedByUser\LastModifiedByUserRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Recent\RecentRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Root\RootRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\SearchWithQ\SearchWithQRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\SharedWithMe\SharedWithMeRequestBuilder; -use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Special\SpecialRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -27,76 +16,6 @@ */ class DriveRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to manage the bundles property of the microsoft.graph.drive entity. - */ - public function bundles(): BundlesRequestBuilder { - return new BundlesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - public function createdByUser(): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the list property of the microsoft.graph.drive entity. - */ - public function escapedList(): ListRequestBuilder { - return new ListRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the following property of the microsoft.graph.drive entity. - */ - public function following(): FollowingRequestBuilder { - return new FollowingRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.drive entity. - */ - public function items(): ItemsRequestBuilder { - return new ItemsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the recent method. - */ - public function recent(): RecentRequestBuilder { - return new RecentRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the root property of the microsoft.graph.drive entity. - */ - public function root(): RootRequestBuilder { - return new RootRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sharedWithMe method. - */ - public function sharedWithMe(): SharedWithMeRequestBuilder { - return new SharedWithMeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the special property of the microsoft.graph.drive entity. - */ - public function special(): SpecialRequestBuilder { - return new SpecialRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Instantiates a new DriveRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -111,20 +30,6 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } } - /** - * Delete navigation property drive for storage - * @param DriveRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DriveRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - /** * The drive of the resource fileStorageContainer. Read-only. * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -139,48 +44,6 @@ public function get(?DriveRequestBuilderGetRequestConfiguration $requestConfigur return $this->requestAdapter->sendAsync($requestInfo, [Drive::class, 'createFromDiscriminatorValue'], $errorMappings); } - /** - * Update the navigation property drive in storage - * @param Drive $body The request body - * @param DriveRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(Drive $body, ?DriveRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Drive::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the search method. - * @param string $q Usage: q='{q}' - * @return SearchWithQRequestBuilder - */ - public function searchWithQ(string $q): SearchWithQRequestBuilder { - return new SearchWithQRequestBuilder($this->pathParameters, $this->requestAdapter, $q); - } - - /** - * Delete navigation property drive for storage - * @param DriveRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DriveRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - /** * The drive of the resource fileStorageContainer. Read-only. * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -202,26 +65,6 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat return $requestInfo; } - /** - * Update the navigation property drive in storage - * @param Drive $body The request body - * @param DriveRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(Drive $body, ?DriveRequestBuilderPatchRequestConfiguration $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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index bd6c6e6fe37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.list entity. - * @param string $columnDefinitionId The unique identifier of columnDefinition - * @return ColumnDefinitionItemRequestBuilder - */ - public function byColumnDefinitionId(string $columnDefinitionId): ColumnDefinitionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['columnDefinition%2Did'] = $columnDefinitionId; - return new ColumnDefinitionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of field definitions for this list. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for storage - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of field definitions for this list. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 42e0be4b4aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7f8229d9bef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3900904a050..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 31fb2053437..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnDefinitionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnDefinitionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnDefinitionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ColumnDefinitionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ColumnDefinitionItemRequestBuilderGetQueryParameters { - return new ColumnDefinitionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php deleted file mode 100644 index c3645a00a97..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/columns/{columnDefinition%2Did}/sourceColumn{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The source column for the content type column. - * @param SourceColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SourceColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The source column for the content type column. - * @param SourceColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SourceColumnRequestBuilder - */ - public function withUrl(string $rawUrl): SourceColumnRequestBuilder { - return new SourceColumnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php deleted file mode 100644 index 8dd8b55c805..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/addCopy'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Add a copy of a content type from a site to a list. - * @param AddCopyPostRequestBody $body The request body - * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 Find more info here - */ - public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Add a copy of a content type from a site to a list. - * @param AddCopyPostRequestBody $body The request body - * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostRequestConfiguration $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 AddCopyRequestBuilder - */ - public function withUrl(string $rawUrl): AddCopyRequestBuilder { - return new AddCopyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bda41539d33..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.php deleted file mode 100644 index fcc6c78f22e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddCopyFromContentTypeHubPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddCopyFromContentTypeHubPostRequestBody { - return new AddCopyFromContentTypeHubPostRequestBody(); - } - - /** - * 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 contentTypeId property value. The contentTypeId property - * @return string|null - */ - public function getContentTypeId(): ?string { - $val = $this->getBackingStore()->get('contentTypeId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'contentTypeId'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'contentTypeId' => fn(ParseNode $n) => $o->setContentTypeId($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('contentTypeId', $this->getContentTypeId()); - $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 contentTypeId property value. The contentTypeId property - * @param string|null $value Value to set for the contentTypeId property. - */ - public function setContentTypeId(?string $value): void { - $this->getBackingStore()->set('contentTypeId', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php deleted file mode 100644 index 6563b1e79da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/addCopyFromContentTypeHub'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. - * @param AddCopyFromContentTypeHubPostRequestBody $body The request body - * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 Find more info here - */ - public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. - * @param AddCopyFromContentTypeHubPostRequestBody $body The request body - * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration $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 AddCopyFromContentTypeHubRequestBuilder - */ - public function withUrl(string $rawUrl): AddCopyFromContentTypeHubRequestBuilder { - return new AddCopyFromContentTypeHubRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 62c87958653..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilder.php deleted file mode 100644 index 3bb4e5fee76..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilder.php +++ /dev/null @@ -1,157 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the addCopyFromContentTypeHub method. - */ - public function addCopyFromContentTypeHub(): AddCopyFromContentTypeHubRequestBuilder { - return new AddCopyFromContentTypeHubRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to count the resources in the collection. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the getCompatibleHubContentTypes method. - */ - public function getCompatibleHubContentTypes(): GetCompatibleHubContentTypesRequestBuilder { - return new GetCompatibleHubContentTypesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the contentTypes property of the microsoft.graph.list entity. - * @param string $contentTypeId The unique identifier of contentType - * @return ContentTypeItemRequestBuilder - */ - public function byContentTypeId(string $contentTypeId): ContentTypeItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['contentType%2Did'] = $contentTypeId; - return new ContentTypeItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ContentTypesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of content types present in this list. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentTypeCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to contentTypes for storage - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of content types present in this list. - * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to contentTypes for storage - * @param ContentType $body The request body - * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ContentType $body, ?ContentTypesRequestBuilderPostRequestConfiguration $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 ContentTypesRequestBuilder - */ - public function withUrl(string $rawUrl): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php deleted file mode 100644 index a48bcb18bee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5368a934a4e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentTypesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentTypesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ContentTypesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContentTypesRequestBuilderGetQueryParameters { - return new ContentTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ea13956375e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/ContentTypesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilder.php deleted file mode 100644 index e7d308a6cb2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index df4b64b940a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ad64dd12eec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.php deleted file mode 100644 index 3c9fe52b634..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ContentType::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ContentType::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php deleted file mode 100644 index 2336214b20f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/getCompatibleHubContentTypes(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. - * @param GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-1.0 Find more info here - */ - public function get(?GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [GetCompatibleHubContentTypesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. - * @param GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetCompatibleHubContentTypesRequestBuilder - */ - public function withUrl(string $rawUrl): GetCompatibleHubContentTypesRequestBuilder { - return new GetCompatibleHubContentTypesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0516762b7c6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new GetCompatibleHubContentTypesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ddc0e75e0df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GetCompatibleHubContentTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GetCompatibleHubContentTypesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new GetCompatibleHubContentTypesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return GetCompatibleHubContentTypesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetCompatibleHubContentTypesRequestBuilderGetQueryParameters { - return new GetCompatibleHubContentTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.php deleted file mode 100644 index f94d08011ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.php +++ /dev/null @@ -1,146 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AssociateWithHubSitesPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AssociateWithHubSitesPostRequestBody { - return new AssociateWithHubSitesPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'hubSiteUrls' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setHubSiteUrls($val); - }, - 'propagateToExistingLists' => fn(ParseNode $n) => $o->setPropagateToExistingLists($n->getBooleanValue()), - ]; - } - - /** - * Gets the hubSiteUrls property value. The hubSiteUrls property - * @return array|null - */ - public function getHubSiteUrls(): ?array { - $val = $this->getBackingStore()->get('hubSiteUrls'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'hubSiteUrls'"); - } - - /** - * Gets the propagateToExistingLists property value. The propagateToExistingLists property - * @return bool|null - */ - public function getPropagateToExistingLists(): ?bool { - $val = $this->getBackingStore()->get('propagateToExistingLists'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'propagateToExistingLists'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeCollectionOfPrimitiveValues('hubSiteUrls', $this->getHubSiteUrls()); - $writer->writeBooleanValue('propagateToExistingLists', $this->getPropagateToExistingLists()); - $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 hubSiteUrls property value. The hubSiteUrls property - * @param array|null $value Value to set for the hubSiteUrls property. - */ - public function setHubSiteUrls(?array $value): void { - $this->getBackingStore()->set('hubSiteUrls', $value); - } - - /** - * Sets the propagateToExistingLists property value. The propagateToExistingLists property - * @param bool|null $value Value to set for the propagateToExistingLists property. - */ - public function setPropagateToExistingLists(?bool $value): void { - $this->getBackingStore()->set('propagateToExistingLists', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php deleted file mode 100644 index 537dcfe73cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/associateWithHubSites'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Associate a published content type present in a content type hub with a list of hub sites. - * @param AssociateWithHubSitesPostRequestBody $body The request body - * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 Find more info here - */ - public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithHubSitesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Associate a published content type present in a content type hub with a list of hub sites. - * @param AssociateWithHubSitesPostRequestBody $body The request body - * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithHubSitesRequestBuilderPostRequestConfiguration $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 AssociateWithHubSitesRequestBuilder - */ - public function withUrl(string $rawUrl): AssociateWithHubSitesRequestBuilder { - return new AssociateWithHubSitesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 17182ae5a1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetQueryParameters.php deleted file mode 100644 index b5128308410..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 BaseRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c6376aa3f29..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/BaseRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param BaseRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?BaseRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new BaseRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return BaseRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): BaseRequestBuilderGetQueryParameters { - return new BaseRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php deleted file mode 100644 index 10390875433..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ /dev/null @@ -1,97 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. - * @param string $contentTypeId1 The unique identifier of contentType - * @return ContentTypeItemRequestBuilder - */ - public function byContentTypeId1(string $contentTypeId1): ContentTypeItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['contentType%2Did1'] = $contentTypeId1; - return new ContentTypeItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new BaseTypesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/baseTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of content types that are ancestors of this content type. - * @param BaseTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?BaseTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentTypeCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of content types that are ancestors of this content type. - * @param BaseTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return BaseTypesRequestBuilder - */ - public function withUrl(string $rawUrl): BaseTypesRequestBuilder { - return new BaseTypesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.php deleted file mode 100644 index b74ad60d2fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/baseTypes/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 283d7ec6814..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1957c9aefe5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php deleted file mode 100644 index feb78b8666a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/baseTypes/{contentType%2Did1}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of content types that are ancestors of this content type. - * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentTypeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of content types that are ancestors of this content type. - * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentTypeItemRequestBuilder - */ - public function withUrl(string $rawUrl): ContentTypeItemRequestBuilder { - return new ContentTypeItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 65eef790607..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ContentTypeItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0626b03f3ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentTypeItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentTypeItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentTypeItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ContentTypeItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ContentTypeItemRequestBuilderGetQueryParameters { - return new ContentTypeItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php deleted file mode 100644 index e8da5268dc9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. - * @param string $columnLinkId The unique identifier of columnLink - * @return ColumnLinkItemRequestBuilder - */ - public function byColumnLinkId(string $columnLinkId): ColumnLinkItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['columnLink%2Did'] = $columnLinkId; - return new ColumnLinkItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnLinksRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnLinks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of columns that are required by this content type. - * @param ColumnLinksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnLinksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnLinkCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columnLinks for storage - * @param ColumnLink $body The request body - * @param ColumnLinksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnLink $body, ?ColumnLinksRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnLink::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of columns that are required by this content type. - * @param ColumnLinksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columnLinks for storage - * @param ColumnLink $body The request body - * @param ColumnLinksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBuilderPostRequestConfiguration $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 ColumnLinksRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnLinksRequestBuilder { - return new ColumnLinksRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetQueryParameters.php deleted file mode 100644 index 83ca20c0d4f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnLinksRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 237c4ed2acd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnLinksRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnLinksRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnLinksRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnLinksRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnLinksRequestBuilderGetQueryParameters { - return new ColumnLinksRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fdfc1573fe1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.php deleted file mode 100644 index 3a2c41a58e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnLinks/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index c0c30ae420f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2fa535ed55a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php deleted file mode 100644 index b4deb52e7d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnLinks/{columnLink%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property columnLinks for storage - * @param ColumnLinkItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ColumnLinkItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The collection of columns that are required by this content type. - * @param ColumnLinkItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnLinkItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnLink::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property columnLinks in storage - * @param ColumnLink $body The request body - * @param ColumnLinkItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ColumnLink $body, ?ColumnLinkItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnLink::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property columnLinks for storage - * @param ColumnLinkItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The collection of columns that are required by this content type. - * @param ColumnLinkItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestConfiguration $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 columnLinks in storage - * @param ColumnLink $body The request body - * @param ColumnLinkItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemRequestBuilderPatchRequestConfiguration $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 ColumnLinkItemRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnLinkItemRequestBuilder { - return new ColumnLinkItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index a0d8e1921d0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 579584481ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ColumnLinkItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 89d677ee38e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnLinkItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnLinkItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnLinkItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ColumnLinkItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ColumnLinkItemRequestBuilderGetQueryParameters { - return new ColumnLinkItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 69e06ec75ce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php deleted file mode 100644 index 45fe6d7b210..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ /dev/null @@ -1,97 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. - * @param string $columnDefinitionId The unique identifier of columnDefinition - * @return ColumnDefinitionItemRequestBuilder - */ - public function byColumnDefinitionId(string $columnDefinitionId): ColumnDefinitionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['columnDefinition%2Did'] = $columnDefinitionId; - return new ColumnDefinitionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnPositionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnPositions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Column order information in a content type. - * @param ColumnPositionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnPositionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Column order information in a content type. - * @param ColumnPositionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ColumnPositionsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnPositionsRequestBuilder { - return new ColumnPositionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 9b4cc9094d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnPositionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b9870140006..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnPositionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnPositionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnPositionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnPositionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnPositionsRequestBuilderGetQueryParameters { - return new ColumnPositionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.php deleted file mode 100644 index c9cae9cd165..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnPositions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index f7afe462d95..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index fe33b7ed484..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php deleted file mode 100644 index 4ee1777c524..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columnPositions/{columnDefinition%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Column order information in a content type. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Column order information in a content type. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ColumnDefinitionItemRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnDefinitionItemRequestBuilder { - return new ColumnDefinitionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index fb399d63469..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ColumnDefinitionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b4934a9b4da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnDefinitionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnDefinitionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnDefinitionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ColumnDefinitionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ColumnDefinitionItemRequestBuilderGetQueryParameters { - return new ColumnDefinitionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index b6a32c4934b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.contentType entity. - * @param string $columnDefinitionId The unique identifier of columnDefinition - * @return ColumnDefinitionItemRequestBuilder - */ - public function byColumnDefinitionId(string $columnDefinitionId): ColumnDefinitionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['columnDefinition%2Did'] = $columnDefinitionId; - return new ColumnDefinitionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The collection of column definitions for this content type. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinitionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for storage - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The collection of column definitions for this content type. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param ColumnDefinition $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index fd7573b13f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 53321915558..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 311ac2687d6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilder.php deleted file mode 100644 index 8e06b4c8dc0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columns/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index ee7f390783f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6f9040e3872..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php deleted file mode 100644 index ab47c09887e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnDefinitionItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columns/{columnDefinition%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property columns for storage - * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The collection of column definitions for this content type. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property columns in storage - * @param ColumnDefinition $body The request body - * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property columns for storage - * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The collection of column definitions for this content type. - * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $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 columns in storage - * @param ColumnDefinition $body The request body - * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilderPatchRequestConfiguration $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 ColumnDefinitionItemRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnDefinitionItemRequestBuilder { - return new ColumnDefinitionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6583cb2efb6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4985dfe3747..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ColumnDefinitionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 00b64cc8ae8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php deleted file mode 100644 index 3352e2135e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/columns/{columnDefinition%2Did}/sourceColumn{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The source column for the content type column. - * @param SourceColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SourceColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ColumnDefinition::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The source column for the content type column. - * @param SourceColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SourceColumnRequestBuilder - */ - public function withUrl(string $rawUrl): SourceColumnRequestBuilder { - return new SourceColumnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1dc7b1d9c21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SourceColumnRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3ec627a6533..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SourceColumnRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SourceColumnRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SourceColumnRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SourceColumnRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SourceColumnRequestBuilderGetQueryParameters { - return new SourceColumnRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php deleted file mode 100644 index 1a2f0f40fbc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ /dev/null @@ -1,224 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ - public function base(): EscapedBaseRequestBuilder { - return new EscapedBaseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. - */ - public function baseTypes(): BaseTypesRequestBuilder { - return new BaseTypesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. - */ - public function columnLinks(): ColumnLinksRequestBuilder { - return new ColumnLinksRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. - */ - public function columnPositions(): ColumnPositionsRequestBuilder { - return new ColumnPositionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.contentType entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the copyToDefaultContentLocation method. - */ - public function copyToDefaultContentLocation(): CopyToDefaultContentLocationRequestBuilder { - return new CopyToDefaultContentLocationRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isPublished method. - */ - public function isPublished(): IsPublishedRequestBuilder { - return new IsPublishedRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the publish method. - */ - public function publish(): PublishRequestBuilder { - return new PublishRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the unpublish method. - */ - public function unpublish(): UnpublishRequestBuilder { - return new UnpublishRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ContentTypeItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property contentTypes for storage - * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentTypeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The collection of content types present in this list. - * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentTypeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property contentTypes in storage - * @param ContentType $body The request body - * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ContentType $body, ?ContentTypeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property contentTypes for storage - * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The collection of content types present in this list. - * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequestConfiguration $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 contentTypes in storage - * @param ContentType $body The request body - * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemRequestBuilderPatchRequestConfiguration $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 ContentTypeItemRequestBuilder - */ - public function withUrl(string $rawUrl): ContentTypeItemRequestBuilder { - return new ContentTypeItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 8b2546c4427..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 709900733b1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ContentTypeItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b7ccb1df509..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentTypeItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentTypeItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentTypeItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ContentTypeItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ContentTypeItemRequestBuilderGetQueryParameters { - return new ContentTypeItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 5ceddb24cea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.php deleted file mode 100644 index 79e04327528..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationPostRequestBody.php +++ /dev/null @@ -1,137 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CopyToDefaultContentLocationPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CopyToDefaultContentLocationPostRequestBody { - return new CopyToDefaultContentLocationPostRequestBody(); - } - - /** - * 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 destinationFileName property value. The destinationFileName property - * @return string|null - */ - public function getDestinationFileName(): ?string { - $val = $this->getBackingStore()->get('destinationFileName'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'destinationFileName'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'destinationFileName' => fn(ParseNode $n) => $o->setDestinationFileName($n->getStringValue()), - 'sourceFile' => fn(ParseNode $n) => $o->setSourceFile($n->getObjectValue([ItemReference::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the sourceFile property value. The sourceFile property - * @return ItemReference|null - */ - public function getSourceFile(): ?ItemReference { - $val = $this->getBackingStore()->get('sourceFile'); - if (is_null($val) || $val instanceof ItemReference) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceFile'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('destinationFileName', $this->getDestinationFileName()); - $writer->writeObjectValue('sourceFile', $this->getSourceFile()); - $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 destinationFileName property value. The destinationFileName property - * @param string|null $value Value to set for the destinationFileName property. - */ - public function setDestinationFileName(?string $value): void { - $this->getBackingStore()->set('destinationFileName', $value); - } - - /** - * Sets the sourceFile property value. The sourceFile property - * @param ItemReference|null $value Value to set for the sourceFile property. - */ - public function setSourceFile(?ItemReference $value): void { - $this->getBackingStore()->set('sourceFile', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php deleted file mode 100644 index 0323aa00971..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/copyToDefaultContentLocation'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. - * @param CopyToDefaultContentLocationPostRequestBody $body The request body - * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 Find more info here - */ - public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation. - * @param CopyToDefaultContentLocationPostRequestBody $body The request body - * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration $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 CopyToDefaultContentLocationRequestBuilder - */ - public function withUrl(string $rawUrl): CopyToDefaultContentLocationRequestBuilder { - return new CopyToDefaultContentLocationRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php deleted file mode 100644 index 011d2a318ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/isPublished()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Check the publishing status of a contentType in a content type hub site. - * @param IsPublishedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-1.0 Find more info here - */ - public function get(?IsPublishedRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [IsPublishedGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Check the publishing status of a contentType in a content type hub site. - * @param IsPublishedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return IsPublishedRequestBuilder - */ - public function withUrl(string $rawUrl): IsPublishedRequestBuilder { - return new IsPublishedRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2c0a96cf902..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 921250016a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php deleted file mode 100644 index 94435ff45e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new CreatedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/createdByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CreatedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index c4aff445a15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CreatedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 00712368535..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index 3e04a5a3806..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/createdByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4cbad7486be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b25eb89e8c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b0dbefb14c0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index 0694afea634..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1d42a1cf0ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 33324b98225..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0f276f04673..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilder.php deleted file mode 100644 index 288c0ebff1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. - * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-1.0 Find more info here - */ - public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DeltaGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state. - * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DeltaRequestBuilder - */ - public function withUrl(string $rawUrl): DeltaRequestBuilder { - return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetQueryParameters.php deleted file mode 100644 index 51649900830..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new DeltaRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7d9ef0e0f53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Delta/DeltaRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DeltaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DeltaRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DeltaRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DeltaRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { - return new DeltaRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.php deleted file mode 100644 index c6fe67bc4b1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilder.php +++ /dev/null @@ -1,79 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $token Usage: token='{token}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $token = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/delta(token=\'{token}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['token'] = $token; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function delta - * @param DeltaWithTokenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DeltaWithTokenRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DeltaWithTokenGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function delta - * @param DeltaWithTokenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DeltaWithTokenRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DeltaWithTokenRequestBuilder - */ - public function withUrl(string $rawUrl): DeltaWithTokenRequestBuilder { - return new DeltaWithTokenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1c20a7e7d47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new DeltaWithTokenRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f9a93894af5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DeltaWithTokenRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DeltaWithTokenRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DeltaWithTokenRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DeltaWithTokenRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaWithTokenRequestBuilderGetQueryParameters { - return new DeltaWithTokenRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php deleted file mode 100644 index 84cff271bb7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/analytics{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Analytics about the view activities that took place on this item. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AnalyticsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Analytics about the view activities that took place on this item. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return AnalyticsRequestBuilder - */ - public function withUrl(string $rawUrl): AnalyticsRequestBuilder { - return new AnalyticsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php deleted file mode 100644 index e1fde1f8b50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AnalyticsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 303ec0250a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AnalyticsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AnalyticsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AnalyticsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AnalyticsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AnalyticsRequestBuilderGetQueryParameters { - return new AnalyticsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php deleted file mode 100644 index b72cad2db5b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php +++ /dev/null @@ -1,273 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php deleted file mode 100644 index 8dba973ffb5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/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 = [ - 'XXX' => [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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 41713534a95..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php deleted file mode 100644 index 22de915b715..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new CreatedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/createdByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CreatedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index 36bc8b4194b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CreatedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index eb174ff29f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index 76308ec42b7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index c9cb54609fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 145c4745764..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0294f9894a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 71a49f095be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1d6e0b0bc69..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 77d41f9fb88..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index 2a000c6d1d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 04ec583497b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 66ce762b721..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.php deleted file mode 100644 index 0c1bec2cb08..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/documentSetVersions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 71d89094f30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1d07845fb70..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php deleted file mode 100644 index 62c8213eb8c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. - * @param string $documentSetVersionId The unique identifier of documentSetVersion - * @return DocumentSetVersionItemRequestBuilder - */ - public function byDocumentSetVersionId(string $documentSetVersionId): DocumentSetVersionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['documentSetVersion%2Did'] = $documentSetVersionId; - return new DocumentSetVersionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new DocumentSetVersionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/documentSetVersions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Version information for a document set version created by a user. - * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DocumentSetVersionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to documentSetVersions for storage - * @param DocumentSetVersion $body The request body - * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DocumentSetVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Version information for a document set version created by a user. - * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to documentSetVersions for storage - * @param DocumentSetVersion $body The request body - * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilderPostRequestConfiguration $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 DocumentSetVersionsRequestBuilder - */ - public function withUrl(string $rawUrl): DocumentSetVersionsRequestBuilder { - return new DocumentSetVersionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index a74f24b26e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new DocumentSetVersionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 187a44d1131..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DocumentSetVersionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DocumentSetVersionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DocumentSetVersionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DocumentSetVersionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DocumentSetVersionsRequestBuilderGetQueryParameters { - return new DocumentSetVersionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 15caca50829..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php deleted file mode 100644 index 1e9e3493c6b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the restore method. - */ - public function restore(): RestoreRequestBuilder { - return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DocumentSetVersionItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property documentSetVersions for storage - * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Version information for a document set version created by a user. - * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DocumentSetVersionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DocumentSetVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property documentSetVersions in storage - * @param DocumentSetVersion $body The request body - * @param DocumentSetVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DocumentSetVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property documentSetVersions for storage - * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Version information for a document set version created by a user. - * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DocumentSetVersionItemRequestBuilderGetRequestConfiguration $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 documentSetVersions in storage - * @param DocumentSetVersion $body The request body - * @param DocumentSetVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBuilderPatchRequestConfiguration $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 DocumentSetVersionItemRequestBuilder - */ - public function withUrl(string $rawUrl): DocumentSetVersionItemRequestBuilder { - return new DocumentSetVersionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 637bacf7d59..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DocumentSetVersionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index be99c4d6d61..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php deleted file mode 100644 index ffafe6543d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FieldsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a16bccb71ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FieldsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FieldsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FieldsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FieldsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FieldsRequestBuilderGetQueryParameters { - return new FieldsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index ea391c244ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 903f19d3543..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php deleted file mode 100644 index 98b58bd2c72..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/driveItem/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0113ba2a279..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 608a7575186..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d33dfcd8c23..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index 463c89dc713..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php deleted file mode 100644 index 5a1160f946e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/driveItem{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * For document libraries, the driveItem relationship exposes the listItem as a driveItem - * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * For document libraries, the driveItem relationship exposes the listItem as a driveItem - * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemRequestBuilder { - return new DriveItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1ef9b75c453..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 524628c8d6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemRequestBuilderGetQueryParameters { - return new DriveItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php deleted file mode 100644 index 96c8d5ac2c6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/fields{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FieldsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The values of the columns set on this list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The values of the columns set on this list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfiguration $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 fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $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 FieldsRequestBuilder - */ - public function withUrl(string $rawUrl): FieldsRequestBuilder { - return new FieldsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 10e50048861..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetQueryParameters.php deleted file mode 100644 index b28b25835ce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FieldsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2866fbbfbb3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FieldsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FieldsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FieldsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FieldsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FieldsRequestBuilderGetQueryParameters { - return new FieldsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 17878a4a819..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php deleted file mode 100644 index 52273f80c87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ItemActivityStat::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ItemActivityStat::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4ae4e0a5e06..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new GetActivitiesByIntervalRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ff11f37b16b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GetActivitiesByIntervalRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GetActivitiesByIntervalRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new GetActivitiesByIntervalRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return GetActivitiesByIntervalRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetActivitiesByIntervalRequestBuilderGetQueryParameters { - return new GetActivitiesByIntervalRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php deleted file mode 100644 index 397887a2415..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ItemActivityStat::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ItemActivityStat::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php deleted file mode 100644 index 18b39713c7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ /dev/null @@ -1,83 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $endDateTime Usage: endDateTime='{endDateTime}' - * @param string|null $interval Usage: interval='{interval}' - * @param string|null $startDateTime Usage: startDateTime='{startDateTime}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $endDateTime = null, ?string $interval = null, ?string $startDateTime = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/getActivitiesByInterval(startDateTime=\'{startDateTime}\',endDateTime=\'{endDateTime}\',interval=\'{interval}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['endDateTime'] = $endDateTime; - $urlTplParams['interval'] = $interval; - $urlTplParams['startDateTime'] = $startDateTime; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder - */ - public function withUrl(string $rawUrl): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php deleted file mode 100644 index ecffbecfbe4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 31e806064dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index 8ce974699e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5ce8a07e6a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastModifiedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index cabbbf20203..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index c89aa35692f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 10444f770aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c1c9b8a7f74..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e413463c2fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 46782bcbea1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4d772652595..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 88f06d6f79e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index 9e831567b2e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index e2903c299ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c2f5f805a58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilder.php deleted file mode 100644 index 1d87cb2d234..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ /dev/null @@ -1,228 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - 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. - */ - public function documentSetVersions(): DocumentSetVersionsRequestBuilder { - return new DocumentSetVersionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the driveItem property of the microsoft.graph.listItem entity. - */ - public function driveItem(): DriveItemRequestBuilder { - return new DriveItemRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the fields property of the microsoft.graph.listItem entity. - */ - public function fields(): FieldsRequestBuilder { - return new FieldsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the getActivitiesByInterval method. - */ - public function getActivitiesByInterval(): GetActivitiesByIntervalRequestBuilder { - return new GetActivitiesByIntervalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the versions property of the microsoft.graph.listItem entity. - */ - public function versions(): VersionsRequestBuilder { - return new VersionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ListItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property items for storage - * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ListItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * All items contained in the list. - * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the getActivitiesByInterval method. - * @param string $endDateTime Usage: endDateTime='{endDateTime}' - * @param string $interval Usage: interval='{interval}' - * @param string $startDateTime Usage: startDateTime='{startDateTime}' - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder - */ - public function getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(string $endDateTime, string $interval, string $startDateTime): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $interval, $startDateTime); - } - - /** - * Update the navigation property items in storage - * @param ListItem $body The request body - * @param ListItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ListItem $body, ?ListItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property items for storage - * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ListItemItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * All items contained in the list. - * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListItemItemRequestBuilderGetRequestConfiguration $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 items in storage - * @param ListItem $body The request body - * @param ListItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ListItem $body, ?ListItemItemRequestBuilderPatchRequestConfiguration $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 ListItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): ListItemItemRequestBuilder { - return new ListItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilder.php deleted file mode 100644 index 8b20e6bebc4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/versions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index f5286df6d84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 636809ba364..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php deleted file mode 100644 index f6db522f6a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/versions/{listItemVersion%2Did}/fields{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FieldsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * A collection of the fields and values for this version of the list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [FieldValueSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fields for storage - * @param FieldsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * A collection of the fields and values for this version of the list item. - * @param FieldsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfiguration $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 fields in storage - * @param FieldValueSet $body The request body - * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $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 FieldsRequestBuilder - */ - public function withUrl(string $rawUrl): FieldsRequestBuilder { - return new FieldsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 453c4393655..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2614c461646..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FieldsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 42264bd375d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FieldsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FieldsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FieldsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FieldsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FieldsRequestBuilderGetQueryParameters { - return new FieldsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 109a81d46fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php deleted file mode 100644 index 6b117f8e0ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the restoreVersion method. - */ - public function restoreVersion(): RestoreVersionRequestBuilder { - return new RestoreVersionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ListItemVersionItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/versions/{listItemVersion%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property versions for storage - * @param ListItemVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The list of previous versions of the list item. - * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListItemVersionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property versions in storage - * @param ListItemVersion $body The request body - * @param ListItemVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ListItemVersion $body, ?ListItemVersionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property versions for storage - * @param ListItemVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The list of previous versions of the list item. - * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListItemVersionItemRequestBuilderGetRequestConfiguration $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 versions in storage - * @param ListItemVersion $body The request body - * @param ListItemVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ListItemVersion $body, ?ListItemVersionItemRequestBuilderPatchRequestConfiguration $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 ListItemVersionItemRequestBuilder - */ - public function withUrl(string $rawUrl): ListItemVersionItemRequestBuilder { - return new ListItemVersionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 72808891111..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 62ce0a54818..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ListItemVersionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2f5994cfbc7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ListItemVersionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ListItemVersionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ListItemVersionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ListItemVersionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ListItemVersionItemRequestBuilderGetQueryParameters { - return new ListItemVersionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index ffd9583e041..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php deleted file mode 100644 index b611d9f7785..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/versions/{listItemVersion%2Did}/restoreVersion'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. - * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/listitemversion-restore?view=graph-rest-1.0 Find more info here - */ - public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. - * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RestoreVersionRequestBuilderPostRequestConfiguration $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"); - 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 RestoreVersionRequestBuilder - */ - public function withUrl(string $rawUrl): RestoreVersionRequestBuilder { - return new RestoreVersionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a3e73eb341b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a10ddd0df16..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php deleted file mode 100644 index 6ef72906ce3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php +++ /dev/null @@ -1,143 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.list entity. - * @param string $listItemId The unique identifier of listItem - * @return ListItemItemRequestBuilder - */ - public function byListItemId(string $listItemId): ListItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['listItem%2Did'] = $listItemId; - return new ListItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ItemsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Provides operations to call the delta method. - * @param string $token Usage: token='{token}' - * @return DeltaWithTokenRequestBuilder - */ - public function deltaWithToken(string $token): DeltaWithTokenRequestBuilder { - return new DeltaWithTokenRequestBuilder($this->pathParameters, $this->requestAdapter, $token); - } - - /** - * All items contained in the list. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to items for storage - * @param ListItem $body The request body - * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * All items contained in the list. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to items for storage - * @param ListItem $body The request body - * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguration $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 ItemsRequestBuilder - */ - public function withUrl(string $rawUrl): ItemsRequestBuilder { - return new ItemsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 343eb624142..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ItemsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9c5c869f0aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index a6191dceb12..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index c7668fced6a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastModifiedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9ff64d4ef88..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index 39c6cb982b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/lastModifiedByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 806b4ab5222..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4276a6c5531..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a74ffa7c7b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 09d4e743608..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7ce7586d9b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 89d776ec944..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index 69567052141..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 533ca560ada..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bd8f5965cbd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilder.php deleted file mode 100644 index d808e2eb42d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilder.php +++ /dev/null @@ -1,208 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the contentTypes property of the microsoft.graph.list entity. - */ - public function contentTypes(): ContentTypesRequestBuilder { - return new ContentTypesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - public function createdByUser(): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the drive property of the microsoft.graph.list entity. - */ - public function drive(): DriveRequestBuilder { - return new DriveRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.list entity. - */ - public function items(): ItemsRequestBuilder { - return new ItemsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the operations property of the microsoft.graph.list entity. - */ - public function operations(): OperationsRequestBuilder { - return new OperationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. - */ - public function subscriptions(): SubscriptionsRequestBuilder { - return new SubscriptionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ListRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property list for storage - * @param ListRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ListRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * For drives in SharePoint, the underlying document library list. Read-only. Nullable. - * @param ListRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [EscapedList::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property list in storage - * @param EscapedList $body The request body - * @param ListRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(EscapedList $body, ?ListRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [EscapedList::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property list for storage - * @param ListRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ListRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * For drives in SharePoint, the underlying document library list. Read-only. Nullable. - * @param ListRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListRequestBuilderGetRequestConfiguration $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 list in storage - * @param EscapedList $body The request body - * @param ListRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(EscapedList $body, ?ListRequestBuilderPatchRequestConfiguration $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 ListRequestBuilder - */ - public function withUrl(string $rawUrl): ListRequestBuilder { - return new ListRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetQueryParameters.php deleted file mode 100644 index ea98b679a56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ListRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c8c29139b53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ListRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ListRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ListRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ListRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ListRequestBuilderGetQueryParameters { - return new ListRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 7b5fb71f24d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ListRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilder.php deleted file mode 100644 index e339b9ec4b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/operations/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3b9aac2a2d1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 50f6d6f11e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6de50c4e4ac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 04dd2c9812b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 RichLongRunningOperationItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f3b07ecdf97..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RichLongRunningOperationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RichLongRunningOperationItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RichLongRunningOperationItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return RichLongRunningOperationItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): RichLongRunningOperationItemRequestBuilderGetQueryParameters { - return new RichLongRunningOperationItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 529799670e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6bb0e9e0f09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param OperationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?OperationsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return OperationsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cdc85c9e4c4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Operations/OperationsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilder.php deleted file mode 100644 index 038db3ae787..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/subscriptions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index dc1b3280cde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index cfa1bd23b6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php deleted file mode 100644 index 8b764c7af68..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/subscriptions/{subscription%2Did}/reauthorize'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. - * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 Find more info here - */ - public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. - * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestConfiguration $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"); - 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 ReauthorizeRequestBuilder - */ - public function withUrl(string $rawUrl): ReauthorizeRequestBuilder { - return new ReauthorizeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 995e9dcae60..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e8d36e6b42e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 58a0557af49..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SubscriptionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a96fcdc3e8c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SubscriptionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SubscriptionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SubscriptionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SubscriptionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SubscriptionItemRequestBuilderGetQueryParameters { - return new SubscriptionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 40ff1ce8c2f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php deleted file mode 100644 index e170f95471a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. - * @param string $subscriptionId The unique identifier of subscription - * @return SubscriptionItemRequestBuilder - */ - public function bySubscriptionId(string $subscriptionId): SubscriptionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['subscription%2Did'] = $subscriptionId; - return new SubscriptionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new SubscriptionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The set of subscriptions on the list. - * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SubscriptionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SubscriptionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to subscriptions for storage - * @param Subscription $body The request body - * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Subscription $body, ?SubscriptionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The set of subscriptions on the list. - * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to subscriptions for storage - * @param Subscription $body The request body - * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Subscription $body, ?SubscriptionsRequestBuilderPostRequestConfiguration $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 SubscriptionsRequestBuilder - */ - public function withUrl(string $rawUrl): SubscriptionsRequestBuilder { - return new SubscriptionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index ceb0e87dec7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 547912a10cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SubscriptionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SubscriptionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SubscriptionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SubscriptionsRequestBuilderGetQueryParameters { - return new SubscriptionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d7a7ec2db74..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilder.php deleted file mode 100644 index 56b315edbc8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/following/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2156b3dd7f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9688493e536..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilder.php deleted file mode 100644 index 06b50807845..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/FollowingRequestBuilder.php +++ /dev/null @@ -1,97 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the following property of the microsoft.graph.drive entity. - * @param string $driveItemId The unique identifier of driveItem - * @return DriveItemItemRequestBuilder - */ - public function byDriveItemId(string $driveItemId): DriveItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['driveItem%2Did'] = $driveItemId; - return new DriveItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new FollowingRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/following{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The list of items the user is following. Only in OneDrive for Business. - * @param FollowingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FollowingRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The list of items the user is following. Only in OneDrive for Business. - * @param FollowingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FollowingRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return FollowingRequestBuilder - */ - public function withUrl(string $rawUrl): FollowingRequestBuilder { - return new FollowingRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index aeeccbbaf21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/following/{driveItem%2Did}/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 9df1409f77b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6cd6a419e12..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b47f9fa0ffa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilder.php deleted file mode 100644 index c889a40b4bf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/following/{driveItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The list of items the user is following. Only in OneDrive for Business. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The list of items the user is following. Only in OneDrive for Business. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemItemRequestBuilder { - return new DriveItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index c6358554512..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 50f2e8668a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Following/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemItemRequestBuilderGetQueryParameters { - return new DriveItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php deleted file mode 100644 index 4864af279dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/allTime{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get allTime from storage - * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get allTime from storage - * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AllTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return AllTimeRequestBuilder - */ - public function withUrl(string $rawUrl): AllTimeRequestBuilder { - return new AllTimeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5223eacc629..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AllTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AllTimeRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AllTimeRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AllTimeRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AllTimeRequestBuilderGetQueryParameters { - return new AllTimeRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilder.php deleted file mode 100644 index 5b47e43ebc2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ /dev/null @@ -1,168 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. - */ - public function itemActivityStats(): ItemActivityStatsRequestBuilder { - return new ItemActivityStatsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastSevenDays property of the microsoft.graph.itemAnalytics entity. - */ - public function lastSevenDays(): LastSevenDaysRequestBuilder { - return new LastSevenDaysRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new AnalyticsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property analytics for storage - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AnalyticsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Analytics about the view activities that took place on this item. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AnalyticsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property analytics in storage - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemAnalytics::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property analytics for storage - * @param AnalyticsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Analytics about the view activities that took place on this item. - * @param AnalyticsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfiguration $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 analytics in storage - * @param ItemAnalytics $body The request body - * @param AnalyticsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequestBuilderPatchRequestConfiguration $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 AnalyticsRequestBuilder - */ - public function withUrl(string $rawUrl): AnalyticsRequestBuilder { - return new AnalyticsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0e71ec1d036..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 457cf049673..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AnalyticsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 22cef09bae7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AnalyticsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AnalyticsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AnalyticsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AnalyticsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AnalyticsRequestBuilderGetQueryParameters { - return new AnalyticsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index cf512ac91ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index c5b34f2eaf7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e9e026610a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php deleted file mode 100644 index 836a361ac08..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. - * @param string $itemActivityId The unique identifier of itemActivity - * @return ItemActivityItemRequestBuilder - */ - public function byItemActivityId(string $itemActivityId): ItemActivityItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['itemActivity%2Did'] = $itemActivityId; - return new ItemActivityItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ActivitiesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Exposes the itemActivities represented in this itemActivityStat resource. - * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to activities for storage - * @param ItemActivity $body The request body - * @param ActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ItemActivity $body, ?ActivitiesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivity::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Exposes the itemActivities represented in this itemActivityStat resource. - * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to activities for storage - * @param ItemActivity $body The request body - * @param ActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ItemActivity $body, ?ActivitiesRequestBuilderPostRequestConfiguration $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 ActivitiesRequestBuilder - */ - public function withUrl(string $rawUrl): ActivitiesRequestBuilder { - return new ActivitiesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5c6ee5e5831..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ActivitiesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 29483544150..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ActivitiesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ActivitiesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ActivitiesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ActivitiesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ActivitiesRequestBuilderGetQueryParameters { - return new ActivitiesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bafae478d9a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.php deleted file mode 100644 index 2fb4941923a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 866089b5aa2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f7647a73b6e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php deleted file mode 100644 index 8d2e7da2e0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%2Did}/driveItem/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index ce20dc933f2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3f4ad5db54a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7615ddf4a75..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index 2779ceb78ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php deleted file mode 100644 index 207229a35ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%2Did}/driveItem{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Exposes the driveItem that was the target of this activity. - * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Exposes the driveItem that was the target of this activity. - * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemRequestBuilder { - return new DriveItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index b17ba8e6ae3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f0d99ea34de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemRequestBuilderGetQueryParameters { - return new DriveItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php deleted file mode 100644 index eafd4939d84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemActivityItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property activities for storage - * @param ItemActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ItemActivityItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Exposes the itemActivities represented in this itemActivityStat resource. - * @param ItemActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivity::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property activities in storage - * @param ItemActivity $body The request body - * @param ItemActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemActivity $body, ?ItemActivityItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivity::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property activities for storage - * @param ItemActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ItemActivityItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Exposes the itemActivities represented in this itemActivityStat resource. - * @param ItemActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update the navigation property activities in storage - * @param ItemActivity $body The request body - * @param ItemActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemActivity $body, ?ItemActivityItemRequestBuilderPatchRequestConfiguration $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 ItemActivityItemRequestBuilder - */ - public function withUrl(string $rawUrl): ItemActivityItemRequestBuilder { - return new ItemActivityItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b788cf712c6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index e5b77db009e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ItemActivityItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 817e336b5df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemActivityItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemActivityItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemActivityItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ItemActivityItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ItemActivityItemRequestBuilderGetQueryParameters { - return new ItemActivityItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 59d0e2273ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php deleted file mode 100644 index 8ba6cf240ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemActivityStatItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property itemActivityStats for storage - * @param ItemActivityStatItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ItemActivityStatItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Get itemActivityStats from storage - * @param ItemActivityStatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemActivityStatItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property itemActivityStats in storage - * @param ItemActivityStat $body The request body - * @param ItemActivityStatItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemActivityStat $body, ?ItemActivityStatItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property itemActivityStats for storage - * @param ItemActivityStatItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ItemActivityStatItemRequestBuilderDeleteRequestConfiguration $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 itemActivityStats from storage - * @param ItemActivityStatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemActivityStatItemRequestBuilderGetRequestConfiguration $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 itemActivityStats in storage - * @param ItemActivityStat $body The request body - * @param ItemActivityStatItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemActivityStat $body, ?ItemActivityStatItemRequestBuilderPatchRequestConfiguration $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 ItemActivityStatItemRequestBuilder - */ - public function withUrl(string $rawUrl): ItemActivityStatItemRequestBuilder { - return new ItemActivityStatItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 5e14186c61a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 8d2dbc3df5e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ItemActivityStatItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f5de6c8ecb2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemActivityStatItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemActivityStatItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemActivityStatItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ItemActivityStatItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ItemActivityStatItemRequestBuilderGetQueryParameters { - return new ItemActivityStatItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a121bf46f71..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b334b2e3d06..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php deleted file mode 100644 index a1bfcedf486..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/analytics/lastSevenDays{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get lastSevenDays from storage - * @param LastSevenDaysRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastSevenDaysRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemActivityStat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get lastSevenDays from storage - * @param LastSevenDaysRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastSevenDaysRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastSevenDaysRequestBuilder - */ - public function withUrl(string $rawUrl): LastSevenDaysRequestBuilder { - return new LastSevenDaysRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetQueryParameters.php deleted file mode 100644 index 23e9c3b74ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastSevenDaysRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 02efea5642e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastSevenDaysRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastSevenDaysRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastSevenDaysRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastSevenDaysRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastSevenDaysRequestBuilderGetQueryParameters { - return new LastSevenDaysRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.php deleted file mode 100644 index 1040761dcce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelPostRequestBody.php +++ /dev/null @@ -1,159 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AssignSensitivityLabelPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AssignSensitivityLabelPostRequestBody { - return new AssignSensitivityLabelPostRequestBody(); - } - - /** - * 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 assignmentMethod property value. The assignmentMethod property - * @return SensitivityLabelAssignmentMethod|null - */ - public function getAssignmentMethod(): ?SensitivityLabelAssignmentMethod { - $val = $this->getBackingStore()->get('assignmentMethod'); - if (is_null($val) || $val instanceof SensitivityLabelAssignmentMethod) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentMethod'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'assignmentMethod' => fn(ParseNode $n) => $o->setAssignmentMethod($n->getEnumValue(SensitivityLabelAssignmentMethod::class)), - 'justificationText' => fn(ParseNode $n) => $o->setJustificationText($n->getStringValue()), - 'sensitivityLabelId' => fn(ParseNode $n) => $o->setSensitivityLabelId($n->getStringValue()), - ]; - } - - /** - * Gets the justificationText property value. The justificationText property - * @return string|null - */ - public function getJustificationText(): ?string { - $val = $this->getBackingStore()->get('justificationText'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'justificationText'"); - } - - /** - * Gets the sensitivityLabelId property value. The sensitivityLabelId property - * @return string|null - */ - public function getSensitivityLabelId(): ?string { - $val = $this->getBackingStore()->get('sensitivityLabelId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabelId'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeEnumValue('assignmentMethod', $this->getAssignmentMethod()); - $writer->writeStringValue('justificationText', $this->getJustificationText()); - $writer->writeStringValue('sensitivityLabelId', $this->getSensitivityLabelId()); - $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 assignmentMethod property value. The assignmentMethod property - * @param SensitivityLabelAssignmentMethod|null $value Value to set for the assignmentMethod property. - */ - public function setAssignmentMethod(?SensitivityLabelAssignmentMethod $value): void { - $this->getBackingStore()->set('assignmentMethod', $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 justificationText property value. The justificationText property - * @param string|null $value Value to set for the justificationText property. - */ - public function setJustificationText(?string $value): void { - $this->getBackingStore()->set('justificationText', $value); - } - - /** - * Sets the sensitivityLabelId property value. The sensitivityLabelId property - * @param string|null $value Value to set for the sensitivityLabelId property. - */ - public function setSensitivityLabelId(?string $value): void { - $this->getBackingStore()->set('sensitivityLabelId', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php deleted file mode 100644 index 3f24c1e7af6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/assignSensitivityLabel'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action assignSensitivityLabel - * @param AssignSensitivityLabelPostRequestBody $body The request body - * @param AssignSensitivityLabelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AssignSensitivityLabelPostRequestBody $body, ?AssignSensitivityLabelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action assignSensitivityLabel - * @param AssignSensitivityLabelPostRequestBody $body The request body - * @param AssignSensitivityLabelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AssignSensitivityLabelPostRequestBody $body, ?AssignSensitivityLabelRequestBuilderPostRequestConfiguration $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 AssignSensitivityLabelRequestBuilder - */ - public function withUrl(string $rawUrl): AssignSensitivityLabelRequestBuilder { - return new AssignSensitivityLabelRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ec86ddf8f5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinPostRequestBody.php deleted file mode 100644 index 238b6a6068f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CheckinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CheckinPostRequestBody { - return new CheckinPostRequestBody(); - } - - /** - * 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 checkInAs property value. The checkInAs property - * @return string|null - */ - public function getCheckInAs(): ?string { - $val = $this->getBackingStore()->get('checkInAs'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'checkInAs'"); - } - - /** - * Gets the comment property value. The comment property - * @return string|null - */ - public function getComment(): ?string { - $val = $this->getBackingStore()->get('comment'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'comment'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'checkInAs' => fn(ParseNode $n) => $o->setCheckInAs($n->getStringValue()), - 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('checkInAs', $this->getCheckInAs()); - $writer->writeStringValue('comment', $this->getComment()); - $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 checkInAs property value. The checkInAs property - * @param string|null $value Value to set for the checkInAs property. - */ - public function setCheckInAs(?string $value): void { - $this->getBackingStore()->set('checkInAs', $value); - } - - /** - * Sets the comment property value. The comment property - * @param string|null $value Value to set for the comment property. - */ - public function setComment(?string $value): void { - $this->getBackingStore()->set('comment', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilder.php deleted file mode 100644 index 1f1e6e763b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/checkin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Check in a checked out driveItem resource, which makes the version of the document available to others. - * @param CheckinPostRequestBody $body The request body - * @param CheckinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-checkin?view=graph-rest-1.0 Find more info here - */ - public function post(CheckinPostRequestBody $body, ?CheckinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Check in a checked out driveItem resource, which makes the version of the document available to others. - * @param CheckinPostRequestBody $body The request body - * @param CheckinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CheckinPostRequestBody $body, ?CheckinRequestBuilderPostRequestConfiguration $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 CheckinRequestBuilder - */ - public function withUrl(string $rawUrl): CheckinRequestBuilder { - return new CheckinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilder.php deleted file mode 100644 index c2a9d99f145..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/checkout'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. - * @param CheckoutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-checkout?view=graph-rest-1.0 Find more info here - */ - public function post(?CheckoutRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. - * @param CheckoutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?CheckoutRequestBuilderPostRequestConfiguration $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"); - 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 CheckoutRequestBuilder - */ - public function withUrl(string $rawUrl): CheckoutRequestBuilder { - return new CheckoutRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilder.php deleted file mode 100644 index 1d70b54212b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/children/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5cf6585ecf5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index df0f9ed738c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index 13dc7b6f2e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/children/{driveItem%2Did1}/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index f25d047392f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1935335a73e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 39151b9497d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index 90c37215a1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilder.php deleted file mode 100644 index abf336b6c17..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/children/{driveItem%2Did1}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemItemRequestBuilder { - return new DriveItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3bb7c87523d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 90a38d04b20..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemItemRequestBuilderGetQueryParameters { - return new DriveItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index 063121176a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index cec27fe70f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3cdc41b6b7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index 279398916da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyPostRequestBody.php deleted file mode 100644 index a38b4008701..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyPostRequestBody.php +++ /dev/null @@ -1,137 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CopyPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CopyPostRequestBody { - return new CopyPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'parentReference' => fn(ParseNode $n) => $o->setParentReference($n->getObjectValue([ItemReference::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Gets the parentReference property value. The parentReference property - * @return ItemReference|null - */ - public function getParentReference(): ?ItemReference { - $val = $this->getBackingStore()->get('parentReference'); - if (is_null($val) || $val instanceof ItemReference) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'parentReference'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('parentReference', $this->getParentReference()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - - /** - * Sets the parentReference property value. The parentReference property - * @param ItemReference|null $value Value to set for the parentReference property. - */ - public function setParentReference(?ItemReference $value): void { - $this->getBackingStore()->set('parentReference', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilder.php deleted file mode 100644 index c6a3e57aca3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/copy'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. - * @param CopyPostRequestBody $body The request body - * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-copy?view=graph-rest-1.0 Find more info here - */ - public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. - * @param CopyPostRequestBody $body The request body - * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestConfiguration $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 CopyRequestBuilder - */ - public function withUrl(string $rawUrl): CopyRequestBuilder { - return new CopyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0cfa1e3fcd6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Copy/CopyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkPostRequestBody.php deleted file mode 100644 index 9dc95e15bec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkPostRequestBody.php +++ /dev/null @@ -1,273 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilder.php deleted file mode 100644 index 0dff2f53e13..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createLink'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. - * @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 - * @link https://learn.microsoft.com/graph/api/driveitem-createlink?view=graph-rest-1.0 Find more info here - */ - public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. - * @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/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 968cea498b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.php deleted file mode 100644 index 8337ba69eec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CreateUploadSessionPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateUploadSessionPostRequestBody { - return new CreateUploadSessionPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'item' => fn(ParseNode $n) => $o->setItem($n->getObjectValue([DriveItemUploadableProperties::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the item property value. The item property - * @return DriveItemUploadableProperties|null - */ - public function getItem(): ?DriveItemUploadableProperties { - $val = $this->getBackingStore()->get('item'); - if (is_null($val) || $val instanceof DriveItemUploadableProperties) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'item'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('item', $this->getItem()); - $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 item property value. The item property - * @param DriveItemUploadableProperties|null $value Value to set for the item property. - */ - public function setItem(?DriveItemUploadableProperties $value): void { - $this->getBackingStore()->set('item', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php deleted file mode 100644 index 601857ee08d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createUploadSession'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action createUploadSession - * @param CreateUploadSessionPostRequestBody $body The request body - * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [UploadSession::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action createUploadSession - * @param CreateUploadSessionPostRequestBody $body The request body - * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CreateUploadSessionPostRequestBody $body, ?CreateUploadSessionRequestBuilderPostRequestConfiguration $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 CreateUploadSessionRequestBuilder - */ - public function withUrl(string $rawUrl): CreateUploadSessionRequestBuilder { - return new CreateUploadSessionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bd40d21af22..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php deleted file mode 100644 index 689e6b59d02..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new CreatedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createdByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CreatedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4325e5c736d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CreatedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bfc4cad3984..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/CreatedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CreatedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CreatedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CreatedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CreatedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CreatedByUserRequestBuilderGetQueryParameters { - return new CreatedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index e0fc37f070c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 9056fe4fa96..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 45c0d0292ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index cf44a7009f1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 66767f537db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3fb5e908dfe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3ea05536b25..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index a3cac3aed69..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index ef368ba197b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7fb5f0ba790..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilder.php deleted file mode 100644 index f73afeec4b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. - * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-delta?view=graph-rest-1.0 Find more info here - */ - public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DeltaGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. - * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DeltaRequestBuilder - */ - public function withUrl(string $rawUrl): DeltaRequestBuilder { - return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetQueryParameters.php deleted file mode 100644 index eac5c56e616..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new DeltaRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4ac3ce06db4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Delta/DeltaRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DeltaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DeltaRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DeltaRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DeltaRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { - return new DeltaRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php deleted file mode 100644 index 3cdbed55105..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php +++ /dev/null @@ -1,79 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $token Usage: token='{token}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $token = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/delta(token=\'{token}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['token'] = $token; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function delta - * @param DeltaWithTokenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DeltaWithTokenRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DeltaWithTokenGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function delta - * @param DeltaWithTokenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DeltaWithTokenRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DeltaWithTokenRequestBuilder - */ - public function withUrl(string $rawUrl): DeltaWithTokenRequestBuilder { - return new DeltaWithTokenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2294e07606d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new DeltaWithTokenRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aac2d828e57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DeltaWithTokenRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DeltaWithTokenRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DeltaWithTokenRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return DeltaWithTokenRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaWithTokenRequestBuilderGetQueryParameters { - return new DeltaWithTokenRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilder.php deleted file mode 100644 index 6c762b86a19..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilder.php +++ /dev/null @@ -1,400 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the assignSensitivityLabel method. - */ - public function assignSensitivityLabel(): AssignSensitivityLabelRequestBuilder { - return new AssignSensitivityLabelRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the checkin method. - */ - public function checkin(): CheckinRequestBuilder { - return new CheckinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the checkout method. - */ - public function checkout(): CheckoutRequestBuilder { - return new CheckoutRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the children property of the microsoft.graph.driveItem entity. - */ - public function children(): ChildrenRequestBuilder { - return new ChildrenRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the media for the storage entity. - */ - public function content(): ContentRequestBuilder { - return new ContentRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the copy method. - */ - public function copy(): CopyRequestBuilder { - return new CopyRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. - */ - 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 call the createUploadSession method. - */ - public function createUploadSession(): CreateUploadSessionRequestBuilder { - return new CreateUploadSessionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the delta method. - */ - public function delta(): DeltaRequestBuilder { - return new DeltaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the extractSensitivityLabels method. - */ - public function extractSensitivityLabels(): ExtractSensitivityLabelsRequestBuilder { - return new ExtractSensitivityLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the follow method. - */ - public function follow(): FollowRequestBuilder { - return new FollowRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the getActivitiesByInterval method. - */ - public function getActivitiesByInterval(): GetActivitiesByIntervalRequestBuilder { - return new GetActivitiesByIntervalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the invite method. - */ - public function invite(): InviteRequestBuilder { - return new InviteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. - */ - public function lastModifiedByUser(): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the listItem property of the microsoft.graph.driveItem entity. - */ - public function listItem(): ListItemRequestBuilder { - return new ListItemRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the permanentDelete method. - */ - public function permanentDelete(): PermanentDeleteRequestBuilder { - return new PermanentDeleteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the permissions property of the microsoft.graph.driveItem entity. - */ - public function permissions(): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the preview method. - */ - public function preview(): PreviewRequestBuilder { - return new PreviewRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the restore method. - */ - public function restore(): RestoreRequestBuilder { - return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. - */ - public function retentionLabel(): RetentionLabelRequestBuilder { - return new RetentionLabelRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. - */ - public function subscriptions(): SubscriptionsRequestBuilder { - return new SubscriptionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. - */ - public function thumbnails(): ThumbnailsRequestBuilder { - return new ThumbnailsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the unfollow method. - */ - public function unfollow(): UnfollowRequestBuilder { - return new UnfollowRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the validatePermission method. - */ - public function validatePermission(): ValidatePermissionRequestBuilder { - return new ValidatePermissionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the versions property of the microsoft.graph.driveItem entity. - */ - public function versions(): VersionsRequestBuilder { - return new VersionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the workbook property of the microsoft.graph.driveItem entity. - */ - public function workbook(): WorkbookRequestBuilder { - return new WorkbookRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property items for storage - * @param DriveItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DriveItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Provides operations to call the delta method. - * @param string $token Usage: token='{token}' - * @return DeltaWithTokenRequestBuilder - */ - public function deltaWithToken(string $token): DeltaWithTokenRequestBuilder { - return new DeltaWithTokenRequestBuilder($this->pathParameters, $this->requestAdapter, $token); - } - - /** - * All items contained in the drive. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the getActivitiesByInterval method. - * @param string $endDateTime Usage: endDateTime='{endDateTime}' - * @param string $interval Usage: interval='{interval}' - * @param string $startDateTime Usage: startDateTime='{startDateTime}' - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder - */ - public function getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(string $endDateTime, string $interval, string $startDateTime): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $interval, $startDateTime); - } - - /** - * Update the navigation property items in storage - * @param DriveItem $body The request body - * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(DriveItem $body, ?DriveItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the search method. - * @param string $q Usage: q='{q}' - * @return SearchWithQRequestBuilder - */ - public function searchWithQ(string $q): SearchWithQRequestBuilder { - return new SearchWithQRequestBuilder($this->pathParameters, $this->requestAdapter, $q); - } - - /** - * Delete navigation property items for storage - * @param DriveItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DriveItemItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * All items contained in the drive. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestConfiguration $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 items in storage - * @param DriveItem $body The request body - * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(DriveItem $body, ?DriveItemItemRequestBuilderPatchRequestConfiguration $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 DriveItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemItemRequestBuilder { - return new DriveItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 4e33868743c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 46d913ab45c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7fdf1533b76..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemItemRequestBuilderGetQueryParameters { - return new DriveItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php deleted file mode 100644 index ffcd8b2f6af..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/extractSensitivityLabels'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action extractSensitivityLabels - * @param ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ExtractSensitivityLabelsResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action extractSensitivityLabels - * @param ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration $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"); - 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 ExtractSensitivityLabelsRequestBuilder - */ - public function withUrl(string $rawUrl): ExtractSensitivityLabelsRequestBuilder { - return new ExtractSensitivityLabelsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fda11b765ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 03a83a9f6e6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Follow/FollowRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php deleted file mode 100644 index 6d6377aede7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ItemActivityStat::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ItemActivityStat::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php deleted file mode 100644 index 915ad921c8c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/getActivitiesByInterval(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types. - * @param GetActivitiesByIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/itemactivitystat-getactivitybyinterval?view=graph-rest-1.0 Find more info here - */ - public function get(?GetActivitiesByIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [GetActivitiesByIntervalGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types. - * @param GetActivitiesByIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetActivitiesByIntervalRequestBuilder - */ - public function withUrl(string $rawUrl): GetActivitiesByIntervalRequestBuilder { - return new GetActivitiesByIntervalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php deleted file mode 100644 index a86dd477ef0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new GetActivitiesByIntervalRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ae7de921f8a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GetActivitiesByIntervalRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GetActivitiesByIntervalRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new GetActivitiesByIntervalRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return GetActivitiesByIntervalRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetActivitiesByIntervalRequestBuilderGetQueryParameters { - return new GetActivitiesByIntervalRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php deleted file mode 100644 index 2870de420d1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ItemActivityStat::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ItemActivityStat::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php deleted file mode 100644 index f40199b5b73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ /dev/null @@ -1,83 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $endDateTime Usage: endDateTime='{endDateTime}' - * @param string|null $interval Usage: interval='{interval}' - * @param string|null $startDateTime Usage: startDateTime='{startDateTime}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $endDateTime = null, ?string $interval = null, ?string $startDateTime = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/getActivitiesByInterval(startDateTime=\'{startDateTime}\',endDateTime=\'{endDateTime}\',interval=\'{interval}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['endDateTime'] = $endDateTime; - $urlTplParams['interval'] = $interval; - $urlTplParams['startDateTime'] = $startDateTime; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function getActivitiesByInterval - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder - */ - public function withUrl(string $rawUrl): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7ba7aec0e66..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9e58cda4ecf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters { - return new GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostRequestBody.php deleted file mode 100644 index d7b32af8ced..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostRequestBody.php +++ /dev/null @@ -1,281 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return InvitePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): InvitePostRequestBody { - return new InvitePostRequestBody(); - } - - /** - * 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 string|null - */ - public function getExpirationDateTime(): ?string { - $val = $this->getBackingStore()->get('expirationDateTime'); - if (is_null($val) || is_string($val)) { - 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->getStringValue()), - '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'])), - 'requireSignIn' => fn(ParseNode $n) => $o->setRequireSignIn($n->getBooleanValue()), - 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), - 'roles' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setRoles($val); - }, - 'sendInvitation' => fn(ParseNode $n) => $o->setSendInvitation($n->getBooleanValue()), - ]; - } - - /** - * 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 requireSignIn property value. The requireSignIn property - * @return bool|null - */ - public function getRequireSignIn(): ?bool { - $val = $this->getBackingStore()->get('requireSignIn'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'requireSignIn'"); - } - - /** - * 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 roles property value. The roles property - * @return array|null - */ - public function getRoles(): ?array { - $val = $this->getBackingStore()->get('roles'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'roles'"); - } - - /** - * Gets the sendInvitation property value. The sendInvitation property - * @return bool|null - */ - public function getSendInvitation(): ?bool { - $val = $this->getBackingStore()->get('sendInvitation'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sendInvitation'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('expirationDateTime', $this->getExpirationDateTime()); - $writer->writeStringValue('message', $this->getMessage()); - $writer->writeStringValue('password', $this->getPassword()); - $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); - $writer->writeBooleanValue('requireSignIn', $this->getRequireSignIn()); - $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); - $writer->writeCollectionOfPrimitiveValues('roles', $this->getRoles()); - $writer->writeBooleanValue('sendInvitation', $this->getSendInvitation()); - $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 string|null $value Value to set for the expirationDateTime property. - */ - public function setExpirationDateTime(?string $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 requireSignIn property value. The requireSignIn property - * @param bool|null $value Value to set for the requireSignIn property. - */ - public function setRequireSignIn(?bool $value): void { - $this->getBackingStore()->set('requireSignIn', $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 roles property value. The roles property - * @param array|null $value Value to set for the roles property. - */ - public function setRoles(?array $value): void { - $this->getBackingStore()->set('roles', $value); - } - - /** - * Sets the sendInvitation property value. The sendInvitation property - * @param bool|null $value Value to set for the sendInvitation property. - */ - public function setSendInvitation(?bool $value): void { - $this->getBackingStore()->set('sendInvitation', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilder.php deleted file mode 100644 index c2ae313cf8e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/invite'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. - * @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/driveitem-invite?view=graph-rest-1.0 Find more info here - */ - public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [InvitePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. - * @param InvitePostRequestBody $body The request body - * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $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 InviteRequestBuilder - */ - public function withUrl(string $rawUrl): InviteRequestBuilder { - return new InviteRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8e1034a0833..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InviteRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index 7f3c8cb1232..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index 611b2a44421..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastModifiedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c43f254525f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index c784c856716..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5d06fb584de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f1f84f5448c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0813a214f3e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 309856d2453..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 03557e71485..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e04c558c9cd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index d46078b91db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 98f4dd9ef50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e9f8c0b2a73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilder.php deleted file mode 100644 index ed89e1902ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/listItem{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * For drives in SharePoint, the associated document library list item. Read-only. Nullable. - * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * For drives in SharePoint, the associated document library list item. Read-only. Nullable. - * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ListItemRequestBuilder - */ - public function withUrl(string $rawUrl): ListItemRequestBuilder { - return new ListItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 148ac72a6a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ListItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 04a80ef6503..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ListItem/ListItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ListItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ListItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ListItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ListItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ListItemRequestBuilderGetQueryParameters { - return new ListItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilder.php deleted file mode 100644 index 9ee2b3e828c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/permissions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index a7539c7f71a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4441ef0a0a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.php deleted file mode 100644 index 012793988dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantPostRequestBody.php +++ /dev/null @@ -1,149 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GrantPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GrantPostRequestBody { - return new GrantPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), - 'roles' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setRoles($val); - }, - ]; - } - - /** - * 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 roles property value. The roles property - * @return array|null - */ - public function getRoles(): ?array { - $val = $this->getBackingStore()->get('roles'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'roles'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); - $writer->writeCollectionOfPrimitiveValues('roles', $this->getRoles()); - $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 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 roles property value. The roles property - * @param array|null $value Value to set for the roles property. - */ - public function setRoles(?array $value): void { - $this->getBackingStore()->set('roles', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php deleted file mode 100644 index 8a0dadb8bdf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/permissions/{permission%2Did}/grant'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Grant users access to a link represented by a permission. - * @param GrantPostRequestBody $body The request body - * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 Find more info here - */ - public function post(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [GrantPostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Grant users access to a link represented by a permission. - * @param GrantPostRequestBody $body The request body - * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequestConfiguration $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 GrantRequestBuilder - */ - public function withUrl(string $rawUrl): GrantRequestBuilder { - return new GrantRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 903e9324571..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/Grant/GrantRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php deleted file mode 100644 index 919cba33bab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new PermissionItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property permissions for storage - * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?PermissionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The set of permissions for the item. Read-only. Nullable. - * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PermissionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property permissions in storage - * @param Permission $body The request body - * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(Permission $body, ?PermissionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property permissions for storage - * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?PermissionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The set of permissions for the item. Read-only. Nullable. - * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestConfiguration $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 permissions in storage - * @param Permission $body The request body - * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(Permission $body, ?PermissionItemRequestBuilderPatchRequestConfiguration $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 PermissionItemRequestBuilder - */ - public function withUrl(string $rawUrl): PermissionItemRequestBuilder { - return new PermissionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e67b2c5df8c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7f1037aa11d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 PermissionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index fe39fe3c9fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PermissionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PermissionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PermissionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return PermissionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): PermissionItemRequestBuilderGetQueryParameters { - return new PermissionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index ce7e695ac1d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/Item/PermissionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilder.php deleted file mode 100644 index 43640750e53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the permissions property of the microsoft.graph.driveItem entity. - * @param string $permissionId The unique identifier of permission - * @return PermissionItemRequestBuilder - */ - public function byPermissionId(string $permissionId): PermissionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['permission%2Did'] = $permissionId; - return new PermissionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new PermissionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The set of permissions for the item. Read-only. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [PermissionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to permissions for storage - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The set of permissions for the item. Read-only. Nullable. - * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to permissions for storage - * @param Permission $body The request body - * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Permission $body, ?PermissionsRequestBuilderPostRequestConfiguration $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 PermissionsRequestBuilder - */ - public function withUrl(string $rawUrl): PermissionsRequestBuilder { - return new PermissionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 17462fab160..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 458fc5a581f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PermissionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PermissionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PermissionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PermissionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PermissionsRequestBuilderGetQueryParameters { - return new PermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fe14a198d70..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Permissions/PermissionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewPostRequestBody.php deleted file mode 100644 index 13899750325..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PreviewPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PreviewPostRequestBody { - return new PreviewPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'page' => fn(ParseNode $n) => $o->setPage($n->getStringValue()), - 'zoom' => fn(ParseNode $n) => $o->setZoom($n->getFloatValue()), - ]; - } - - /** - * Gets the page property value. The page property - * @return string|null - */ - public function getPage(): ?string { - $val = $this->getBackingStore()->get('page'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'page'"); - } - - /** - * Gets the zoom property value. The zoom property - * @return float|null - */ - public function getZoom(): ?float { - $val = $this->getBackingStore()->get('zoom'); - if (is_null($val) || is_float($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'zoom'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('page', $this->getPage()); - $writer->writeFloatValue('zoom', $this->getZoom()); - $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 page property value. The page property - * @param string|null $value Value to set for the page property. - */ - public function setPage(?string $value): void { - $this->getBackingStore()->set('page', $value); - } - - /** - * Sets the zoom property value. The zoom property - * @param float|null $value Value to set for the zoom property. - */ - public function setZoom(?float $value): void { - $this->getBackingStore()->set('zoom', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilder.php deleted file mode 100644 index 424e6043914..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/preview'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action preview - * @param PreviewPostRequestBody $body The request body - * @param PreviewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PreviewPostRequestBody $body, ?PreviewRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemPreviewInfo::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action preview - * @param PreviewPostRequestBody $body The request body - * @param PreviewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PreviewPostRequestBody $body, ?PreviewRequestBuilderPostRequestConfiguration $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 PreviewRequestBuilder - */ - public function withUrl(string $rawUrl): PreviewRequestBuilder { - return new PreviewRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ee20ab52070..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Preview/PreviewRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestorePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestorePostRequestBody.php deleted file mode 100644 index 6990721042e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestorePostRequestBody.php +++ /dev/null @@ -1,137 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RestorePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { - return new RestorePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'parentReference' => fn(ParseNode $n) => $o->setParentReference($n->getObjectValue([ItemReference::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Gets the parentReference property value. The parentReference property - * @return ItemReference|null - */ - public function getParentReference(): ?ItemReference { - $val = $this->getBackingStore()->get('parentReference'); - if (is_null($val) || $val instanceof ItemReference) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'parentReference'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('parentReference', $this->getParentReference()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - - /** - * Sets the parentReference property value. The parentReference property - * @param ItemReference|null $value Value to set for the parentReference property. - */ - public function setParentReference(?ItemReference $value): void { - $this->getBackingStore()->set('parentReference', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilder.php deleted file mode 100644 index 23de7b0916e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/restore'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. - * @param RestorePostRequestBody $body The request body - * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-restore?view=graph-rest-1.0 Find more info here - */ - public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. - * @param RestorePostRequestBody $body The request body - * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::POST; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RestoreRequestBuilder - */ - public function withUrl(string $rawUrl): RestoreRequestBuilder { - return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d5cc81b1c1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Restore/RestoreRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php deleted file mode 100644 index 7a9d3d388b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/retentionLabel{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property retentionLabel for storage - * @param RetentionLabelRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?RetentionLabelRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Information about retention label and settings enforced on the driveItem. Read-write. - * @param RetentionLabelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemRetentionLabel::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property retentionLabel in storage - * @param ItemRetentionLabel $body The request body - * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ItemRetentionLabel::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property retentionLabel for storage - * @param RetentionLabelRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?RetentionLabelRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Information about retention label and settings enforced on the driveItem. Read-write. - * @param RetentionLabelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestConfiguration $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 retentionLabel in storage - * @param ItemRetentionLabel $body The request body - * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $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 RetentionLabelRequestBuilder - */ - public function withUrl(string $rawUrl): RetentionLabelRequestBuilder { - return new RetentionLabelRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 97b2a80f234..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php deleted file mode 100644 index 8b5db1cb3e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 RetentionLabelRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2020455f388..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RetentionLabelRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RetentionLabelRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RetentionLabelRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return RetentionLabelRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): RetentionLabelRequestBuilderGetQueryParameters { - return new RetentionLabelRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 237dabd484a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php deleted file mode 100644 index 368fc51c972..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $q Usage: q='{q}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $q = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/search(q=\'{q}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['q'] = $q; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. - * @param SearchWithQRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-search?view=graph-rest-1.0 Find more info here - */ - public function get(?SearchWithQRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SearchWithQGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. - * @param SearchWithQRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SearchWithQRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SearchWithQRequestBuilder - */ - public function withUrl(string $rawUrl): SearchWithQRequestBuilder { - return new SearchWithQRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7cc7f1ff576..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SearchWithQRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e64cc7c5dc9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SearchWithQRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SearchWithQRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SearchWithQRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SearchWithQRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SearchWithQRequestBuilderGetQueryParameters { - return new SearchWithQRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilder.php deleted file mode 100644 index ce3c50768f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/subscriptions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5599170514c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7e4b2863565..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php deleted file mode 100644 index b2294078e12..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/subscriptions/{subscription%2Did}/reauthorize'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. - * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 Find more info here - */ - public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. - * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestConfiguration $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"); - 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 ReauthorizeRequestBuilder - */ - public function withUrl(string $rawUrl): ReauthorizeRequestBuilder { - return new ReauthorizeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b371e3d709..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 611c3c26d61..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4de0f5e4524..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SubscriptionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 26ab02d42a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SubscriptionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SubscriptionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SubscriptionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SubscriptionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SubscriptionItemRequestBuilderGetQueryParameters { - return new SubscriptionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e63c6548e4a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php deleted file mode 100644 index 55f30f7798e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. - * @param string $subscriptionId The unique identifier of subscription - * @return SubscriptionItemRequestBuilder - */ - public function bySubscriptionId(string $subscriptionId): SubscriptionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['subscription%2Did'] = $subscriptionId; - return new SubscriptionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new SubscriptionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The set of subscriptions on the item. Only supported on the root of a drive. - * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SubscriptionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SubscriptionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to subscriptions for storage - * @param Subscription $body The request body - * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Subscription $body, ?SubscriptionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The set of subscriptions on the item. Only supported on the root of a drive. - * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to subscriptions for storage - * @param Subscription $body The request body - * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Subscription $body, ?SubscriptionsRequestBuilderPostRequestConfiguration $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 SubscriptionsRequestBuilder - */ - public function withUrl(string $rawUrl): SubscriptionsRequestBuilder { - return new SubscriptionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index b3cde38839a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9ab75e70be5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SubscriptionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SubscriptionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SubscriptionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SubscriptionsRequestBuilderGetQueryParameters { - return new SubscriptionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilder.php deleted file mode 100644 index be0dd293624..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/thumbnails/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6b83f4ccf7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9cf49968848..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php deleted file mode 100644 index 0b50847fba6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/thumbnails/{thumbnailSet%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property thumbnails for storage - * @param ThumbnailSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ThumbnailSetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. - * @param ThumbnailSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ThumbnailSetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ThumbnailSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property thumbnails in storage - * @param ThumbnailSet $body The request body - * @param ThumbnailSetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(ThumbnailSet $body, ?ThumbnailSetItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ThumbnailSet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property thumbnails for storage - * @param ThumbnailSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ThumbnailSetItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. - * @param ThumbnailSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ThumbnailSetItemRequestBuilderGetRequestConfiguration $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 thumbnails in storage - * @param ThumbnailSet $body The request body - * @param ThumbnailSetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ThumbnailSet $body, ?ThumbnailSetItemRequestBuilderPatchRequestConfiguration $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 ThumbnailSetItemRequestBuilder - */ - public function withUrl(string $rawUrl): ThumbnailSetItemRequestBuilder { - return new ThumbnailSetItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 940cd8cb454..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index d4b50d4a119..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ThumbnailSetItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 27a8cbe5dca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ThumbnailSetItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ThumbnailSetItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ThumbnailSetItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ThumbnailSetItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ThumbnailSetItemRequestBuilderGetQueryParameters { - return new ThumbnailSetItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 69cc0a10e6a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php deleted file mode 100644 index c3f2afe8d73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ThumbnailsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index db3d304bd86..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Thumbnails/ThumbnailsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.php deleted file mode 100644 index 7d7b0e70846..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ValidatePermissionPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ValidatePermissionPostRequestBody { - return new ValidatePermissionPostRequestBody(); - } - - /** - * 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 challengeToken property value. The challengeToken property - * @return string|null - */ - public function getChallengeToken(): ?string { - $val = $this->getBackingStore()->get('challengeToken'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'challengeToken'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'challengeToken' => fn(ParseNode $n) => $o->setChallengeToken($n->getStringValue()), - 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), - ]; - } - - /** - * 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'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('challengeToken', $this->getChallengeToken()); - $writer->writeStringValue('password', $this->getPassword()); - $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 challengeToken property value. The challengeToken property - * @param string|null $value Value to set for the challengeToken property. - */ - public function setChallengeToken(?string $value): void { - $this->getBackingStore()->set('challengeToken', $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); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php deleted file mode 100644 index 4ecfd466a49..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/validatePermission'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action validatePermission - * @param ValidatePermissionPostRequestBody $body The request body - * @param ValidatePermissionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ValidatePermissionPostRequestBody $body, ?ValidatePermissionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action validatePermission - * @param ValidatePermissionPostRequestBody $body The request body - * @param ValidatePermissionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ValidatePermissionPostRequestBody $body, ?ValidatePermissionRequestBuilderPostRequestConfiguration $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 ValidatePermissionRequestBuilder - */ - public function withUrl(string $rawUrl): ValidatePermissionRequestBuilder { - return new ValidatePermissionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 78e41de71b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/ValidatePermission/ValidatePermissionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilder.php deleted file mode 100644 index 3c7303f2094..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/versions/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index f12e014fa97..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index cc8de6b8069..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index ca63d029f4f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/versions/{driveItemVersion%2Did}/content'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream for this version of the item. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream for this version of the item. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream for this version of the item. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream for this version of the item. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream for this version of the item. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream for this version of the item. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 666d249cff1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 17f06c514ef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index aad6e503f1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php deleted file mode 100644 index 25fe9f1a126..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the restoreVersion method. - */ - public function restoreVersion(): RestoreVersionRequestBuilder { - return new RestoreVersionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemVersionItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/versions/{driveItemVersion%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property versions for storage - * @param DriveItemVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DriveItemVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. - * @param DriveItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemVersionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property versions in storage - * @param DriveItemVersion $body The request body - * @param DriveItemVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(DriveItemVersion $body, ?DriveItemVersionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property versions for storage - * @param DriveItemVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DriveItemVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. - * @param DriveItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemVersionItemRequestBuilderGetRequestConfiguration $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 versions in storage - * @param DriveItemVersion $body The request body - * @param DriveItemVersionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(DriveItemVersion $body, ?DriveItemVersionItemRequestBuilderPatchRequestConfiguration $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 DriveItemVersionItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemVersionItemRequestBuilder { - return new DriveItemVersionItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index c79a2ec6e50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 40d081f2bc1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemVersionItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1b060dcbcd8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemVersionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemVersionItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemVersionItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemVersionItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemVersionItemRequestBuilderGetQueryParameters { - return new DriveItemVersionItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 12a68da74b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php deleted file mode 100644 index 160f6d3d8b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/versions/{driveItemVersion%2Did}/restoreVersion'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. - * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitemversion-restore?view=graph-rest-1.0 Find more info here - */ - public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. - * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RestoreVersionRequestBuilderPostRequestConfiguration $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"); - 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 RestoreVersionRequestBuilder - */ - public function withUrl(string $rawUrl): RestoreVersionRequestBuilder { - return new RestoreVersionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2fb7ca9b04b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilder.php deleted file mode 100644 index a591190cfbb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the versions property of the microsoft.graph.driveItem entity. - * @param string $driveItemVersionId The unique identifier of driveItemVersion - * @return DriveItemVersionItemRequestBuilder - */ - public function byDriveItemVersionId(string $driveItemVersionId): DriveItemVersionItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['driveItemVersion%2Did'] = $driveItemVersionId; - return new DriveItemVersionItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new VersionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. - * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?VersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemVersionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to versions for storage - * @param DriveItemVersion $body The request body - * @param VersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DriveItemVersion $body, ?VersionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. - * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to versions for storage - * @param DriveItemVersion $body The request body - * @param VersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DriveItemVersion $body, ?VersionsRequestBuilderPostRequestConfiguration $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 VersionsRequestBuilder - */ - public function withUrl(string $rawUrl): VersionsRequestBuilder { - return new VersionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6a877175986..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new VersionsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index aa56f3f58dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilder.php deleted file mode 100644 index 03700592510..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ApplicationRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/application{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property application for storage - * @param ApplicationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ApplicationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Get application from storage - * @param ApplicationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ApplicationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookApplication::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property application in storage - * @param WorkbookApplication $body The request body - * @param ApplicationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookApplication $body, ?ApplicationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookApplication::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property application for storage - * @param ApplicationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ApplicationRequestBuilderDeleteRequestConfiguration $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 application from storage - * @param ApplicationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ApplicationRequestBuilderGetRequestConfiguration $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 application in storage - * @param WorkbookApplication $body The request body - * @param ApplicationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookApplication $body, ?ApplicationRequestBuilderPatchRequestConfiguration $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 ApplicationRequestBuilder - */ - public function withUrl(string $rawUrl): ApplicationRequestBuilder { - return new ApplicationRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 9fa285c02eb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2fbf69c8178..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ApplicationRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f3bdf2f578d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ApplicationRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ApplicationRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ApplicationRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ApplicationRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ApplicationRequestBuilderGetQueryParameters { - return new ApplicationRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 4aa7b668e41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/ApplicationRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.php deleted file mode 100644 index 0bc99ecbbb6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculatePostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CalculatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CalculatePostRequestBody { - return new CalculatePostRequestBody(); - } - - /** - * 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 calculationType property value. The calculationType property - * @return string|null - */ - public function getCalculationType(): ?string { - $val = $this->getBackingStore()->get('calculationType'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'calculationType'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'calculationType' => fn(ParseNode $n) => $o->setCalculationType($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('calculationType', $this->getCalculationType()); - $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 calculationType property value. The calculationType property - * @param string|null $value Value to set for the calculationType property. - */ - public function setCalculationType(?string $value): void { - $this->getBackingStore()->set('calculationType', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 663326a0232..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php deleted file mode 100644 index 4c9ee8ee681..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/closeSession'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Use this API to close an existing workbook session. - * @param CloseSessionRequestBuilderPostRequestConfiguration|null $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-closesession?view=graph-rest-1.0 Find more info here - */ - public function post(?CloseSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Use this API to close an existing workbook session. - * @param CloseSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?CloseSessionRequestBuilderPostRequestConfiguration $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"); - 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 CloseSessionRequestBuilder - */ - public function withUrl(string $rawUrl): CloseSessionRequestBuilder { - return new CloseSessionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 92fb3d2224f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2616e28a999..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/CommentsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilder.php deleted file mode 100644 index f53573fcbd0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 15726345900..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4cf6ce6c2ce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.php deleted file mode 100644 index 28da54b180d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index cefff605197..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3227aaa9d84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php deleted file mode 100644 index eb88748e629..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the replies property of the microsoft.graph.workbookComment entity. - * @param string $workbookCommentReplyId The unique identifier of workbookCommentReply - * @return WorkbookCommentReplyItemRequestBuilder - */ - public function byWorkbookCommentReplyId(string $workbookCommentReplyId): WorkbookCommentReplyItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookCommentReply%2Did'] = $workbookCommentReplyId; - return new WorkbookCommentReplyItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new RepliesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get replies from storage - * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookCommentReplyCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to replies for storage - * @param WorkbookCommentReply $body The request body - * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookCommentReply $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookCommentReply::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get replies from storage - * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to replies for storage - * @param WorkbookCommentReply $body The request body - * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookCommentReply $body, ?RepliesRequestBuilderPostRequestConfiguration $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 RepliesRequestBuilder - */ - public function withUrl(string $rawUrl): RepliesRequestBuilder { - return new RepliesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php deleted file mode 100644 index b70e13489fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RepliesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b9d14202afe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RepliesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RepliesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RepliesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RepliesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RepliesRequestBuilderGetQueryParameters { - return new RepliesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index dd73e42856f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php deleted file mode 100644 index 9d0cf03e031..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookCommentItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property comments for storage - * @param WorkbookCommentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookCommentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of comments in a workbook. - * @param WorkbookCommentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookCommentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookComment::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property comments in storage - * @param WorkbookComment $body The request body - * @param WorkbookCommentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookComment $body, ?WorkbookCommentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookComment::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property comments for storage - * @param WorkbookCommentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookCommentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of comments in a workbook. - * @param WorkbookCommentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookCommentItemRequestBuilderGetRequestConfiguration $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 comments in storage - * @param WorkbookComment $body The request body - * @param WorkbookCommentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookComment $body, ?WorkbookCommentItemRequestBuilderPatchRequestConfiguration $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 WorkbookCommentItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookCommentItemRequestBuilder { - return new WorkbookCommentItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6de57ba9db4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index aa4c4506298..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookCommentItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8f3e075a720..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookCommentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookCommentItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookCommentItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookCommentItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookCommentItemRequestBuilderGetQueryParameters { - return new WorkbookCommentItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 795413623f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php deleted file mode 100644 index 66c9a3f008d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/createSession'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: - * @param CreateSessionPostRequestBody $body The request body - * @param CreateSessionRequestBuilderPostRequestConfiguration|null $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-createsession?view=graph-rest-1.0 Find more info here - */ - public function post(CreateSessionPostRequestBody $body, ?CreateSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookSessionInfo::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: - * @param CreateSessionPostRequestBody $body The request body - * @param CreateSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CreateSessionPostRequestBody $body, ?CreateSessionRequestBuilderPostRequestConfiguration $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 CreateSessionRequestBuilder - */ - public function withUrl(string $rawUrl): CreateSessionRequestBuilder { - return new CreateSessionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ceb4630873c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php deleted file mode 100644 index 29210b1600e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AbsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AbsPostRequestBody { - return new AbsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php deleted file mode 100644 index da1bcee4e8e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/abs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action abs - * @param AbsPostRequestBody $body The request body - * @param AbsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AbsPostRequestBody $body, ?AbsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action abs - * @param AbsPostRequestBody $body The request body - * @param AbsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AbsPostRequestBody $body, ?AbsRequestBuilderPostRequestConfiguration $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 AbsRequestBuilder - */ - public function withUrl(string $rawUrl): AbsRequestBuilder { - return new AbsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 086c970ff78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php deleted file mode 100644 index f6c1c3001c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AccrIntPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AccrIntPostRequestBody { - return new AccrIntPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php deleted file mode 100644 index 221e26878a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/accrInt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action accrInt - * @param AccrIntPostRequestBody $body The request body - * @param AccrIntRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AccrIntPostRequestBody $body, ?AccrIntRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action accrInt - * @param AccrIntPostRequestBody $body The request body - * @param AccrIntRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AccrIntPostRequestBody $body, ?AccrIntRequestBuilderPostRequestConfiguration $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 AccrIntRequestBuilder - */ - public function withUrl(string $rawUrl): AccrIntRequestBuilder { - return new AccrIntRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c758f6cbfd7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php deleted file mode 100644 index bef048b0e41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AccrIntMPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AccrIntMPostRequestBody { - return new AccrIntMPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php deleted file mode 100644 index ea53389bf13..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/accrIntM'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action accrIntM - * @param AccrIntMPostRequestBody $body The request body - * @param AccrIntMRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AccrIntMPostRequestBody $body, ?AccrIntMRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action accrIntM - * @param AccrIntMPostRequestBody $body The request body - * @param AccrIntMRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AccrIntMPostRequestBody $body, ?AccrIntMRequestBuilderPostRequestConfiguration $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 AccrIntMRequestBuilder - */ - public function withUrl(string $rawUrl): AccrIntMRequestBuilder { - return new AccrIntMRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 40c8c191314..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php deleted file mode 100644 index 619df12ac3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AcosPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AcosPostRequestBody { - return new AcosPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php deleted file mode 100644 index 318686de962..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/acos'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action acos - * @param AcosPostRequestBody $body The request body - * @param AcosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AcosPostRequestBody $body, ?AcosRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action acos - * @param AcosPostRequestBody $body The request body - * @param AcosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AcosPostRequestBody $body, ?AcosRequestBuilderPostRequestConfiguration $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 AcosRequestBuilder - */ - public function withUrl(string $rawUrl): AcosRequestBuilder { - return new AcosRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a736d6dae7e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php deleted file mode 100644 index 375697456fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AcoshPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AcoshPostRequestBody { - return new AcoshPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php deleted file mode 100644 index 7e845243526..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/acosh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action acosh - * @param AcoshPostRequestBody $body The request body - * @param AcoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AcoshPostRequestBody $body, ?AcoshRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action acosh - * @param AcoshPostRequestBody $body The request body - * @param AcoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AcoshPostRequestBody $body, ?AcoshRequestBuilderPostRequestConfiguration $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 AcoshRequestBuilder - */ - public function withUrl(string $rawUrl): AcoshRequestBuilder { - return new AcoshRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 667378fbe66..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php deleted file mode 100644 index c4cf3c99fc8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AcotPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AcotPostRequestBody { - return new AcotPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php deleted file mode 100644 index 56590f2e804..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/acot'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action acot - * @param AcotPostRequestBody $body The request body - * @param AcotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AcotPostRequestBody $body, ?AcotRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action acot - * @param AcotPostRequestBody $body The request body - * @param AcotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AcotPostRequestBody $body, ?AcotRequestBuilderPostRequestConfiguration $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 AcotRequestBuilder - */ - public function withUrl(string $rawUrl): AcotRequestBuilder { - return new AcotRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2f1d8657d42..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php deleted file mode 100644 index d2ee013b5a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AcothPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AcothPostRequestBody { - return new AcothPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php deleted file mode 100644 index 9c394620c1e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/acoth'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action acoth - * @param AcothPostRequestBody $body The request body - * @param AcothRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AcothPostRequestBody $body, ?AcothRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action acoth - * @param AcothPostRequestBody $body The request body - * @param AcothRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AcothPostRequestBody $body, ?AcothRequestBuilderPostRequestConfiguration $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 AcothRequestBuilder - */ - public function withUrl(string $rawUrl): AcothRequestBuilder { - return new AcothRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d3564516c8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php deleted file mode 100644 index c7f72b2fb9d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AmorDegrcPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AmorDegrcPostRequestBody { - return new AmorDegrcPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php deleted file mode 100644 index c149f82c4b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/amorDegrc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action amorDegrc - * @param AmorDegrcPostRequestBody $body The request body - * @param AmorDegrcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AmorDegrcPostRequestBody $body, ?AmorDegrcRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action amorDegrc - * @param AmorDegrcPostRequestBody $body The request body - * @param AmorDegrcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AmorDegrcPostRequestBody $body, ?AmorDegrcRequestBuilderPostRequestConfiguration $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 AmorDegrcRequestBuilder - */ - public function withUrl(string $rawUrl): AmorDegrcRequestBuilder { - return new AmorDegrcRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b1dac157bce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php deleted file mode 100644 index fd6e7a1699d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AmorLincPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AmorLincPostRequestBody { - return new AmorLincPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php deleted file mode 100644 index 0301f5f609b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/amorLinc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action amorLinc - * @param AmorLincPostRequestBody $body The request body - * @param AmorLincRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AmorLincPostRequestBody $body, ?AmorLincRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action amorLinc - * @param AmorLincPostRequestBody $body The request body - * @param AmorLincRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AmorLincPostRequestBody $body, ?AmorLincRequestBuilderPostRequestConfiguration $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 AmorLincRequestBuilder - */ - public function withUrl(string $rawUrl): AmorLincRequestBuilder { - return new AmorLincRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3734f69654d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php deleted file mode 100644 index b3072e11e2d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ArabicPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ArabicPostRequestBody { - return new ArabicPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php deleted file mode 100644 index 01831c739e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/arabic'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action arabic - * @param ArabicPostRequestBody $body The request body - * @param ArabicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ArabicPostRequestBody $body, ?ArabicRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action arabic - * @param ArabicPostRequestBody $body The request body - * @param ArabicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ArabicPostRequestBody $body, ?ArabicRequestBuilderPostRequestConfiguration $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 ArabicRequestBuilder - */ - public function withUrl(string $rawUrl): ArabicRequestBuilder { - return new ArabicRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e5b6e579607..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php deleted file mode 100644 index 4c597f3a0fc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AreasPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AreasPostRequestBody { - return new AreasPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php deleted file mode 100644 index fcbbbdba57b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/areas'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action areas - * @param AreasPostRequestBody $body The request body - * @param AreasRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AreasPostRequestBody $body, ?AreasRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action areas - * @param AreasPostRequestBody $body The request body - * @param AreasRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AreasPostRequestBody $body, ?AreasRequestBuilderPostRequestConfiguration $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 AreasRequestBuilder - */ - public function withUrl(string $rawUrl): AreasRequestBuilder { - return new AreasRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 38bf094f680..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php deleted file mode 100644 index a1734c2ecf2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AscPostRequestBody { - return new AscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php deleted file mode 100644 index c6849ae74f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/asc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action asc - * @param AscPostRequestBody $body The request body - * @param AscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AscPostRequestBody $body, ?AscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action asc - * @param AscPostRequestBody $body The request body - * @param AscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AscPostRequestBody $body, ?AscRequestBuilderPostRequestConfiguration $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 AscRequestBuilder - */ - public function withUrl(string $rawUrl): AscRequestBuilder { - return new AscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9ca0c8ce945..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php deleted file mode 100644 index 4521c46dde6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AsinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AsinPostRequestBody { - return new AsinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php deleted file mode 100644 index f23e24e1333..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/asin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action asin - * @param AsinPostRequestBody $body The request body - * @param AsinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AsinPostRequestBody $body, ?AsinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action asin - * @param AsinPostRequestBody $body The request body - * @param AsinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AsinPostRequestBody $body, ?AsinRequestBuilderPostRequestConfiguration $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 AsinRequestBuilder - */ - public function withUrl(string $rawUrl): AsinRequestBuilder { - return new AsinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ae65be15f6c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php deleted file mode 100644 index 5d427db0280..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AsinhPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AsinhPostRequestBody { - return new AsinhPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php deleted file mode 100644 index 64b745b252f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/asinh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action asinh - * @param AsinhPostRequestBody $body The request body - * @param AsinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AsinhPostRequestBody $body, ?AsinhRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action asinh - * @param AsinhPostRequestBody $body The request body - * @param AsinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AsinhPostRequestBody $body, ?AsinhRequestBuilderPostRequestConfiguration $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 AsinhRequestBuilder - */ - public function withUrl(string $rawUrl): AsinhRequestBuilder { - return new AsinhRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bc23c8d754e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php deleted file mode 100644 index a2d4cbba4f2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AtanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AtanPostRequestBody { - return new AtanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php deleted file mode 100644 index cae3b3e8f56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/atan'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action atan - * @param AtanPostRequestBody $body The request body - * @param AtanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AtanPostRequestBody $body, ?AtanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action atan - * @param AtanPostRequestBody $body The request body - * @param AtanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AtanPostRequestBody $body, ?AtanRequestBuilderPostRequestConfiguration $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 AtanRequestBuilder - */ - public function withUrl(string $rawUrl): AtanRequestBuilder { - return new AtanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f6ce4fab964..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php deleted file mode 100644 index a7dbf8b96c7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Atan2PostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Atan2PostRequestBody { - return new Atan2PostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php deleted file mode 100644 index e81bfac444a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/atan2'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action atan2 - * @param Atan2PostRequestBody $body The request body - * @param Atan2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Atan2PostRequestBody $body, ?Atan2RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action atan2 - * @param Atan2PostRequestBody $body The request body - * @param Atan2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Atan2PostRequestBody $body, ?Atan2RequestBuilderPostRequestConfiguration $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 Atan2RequestBuilder - */ - public function withUrl(string $rawUrl): Atan2RequestBuilder { - return new Atan2RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b5af4a8b09c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php deleted file mode 100644 index 47a2fc38854..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AtanhPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AtanhPostRequestBody { - return new AtanhPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php deleted file mode 100644 index 0fa26b00ff1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/atanh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action atanh - * @param AtanhPostRequestBody $body The request body - * @param AtanhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AtanhPostRequestBody $body, ?AtanhRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action atanh - * @param AtanhPostRequestBody $body The request body - * @param AtanhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AtanhPostRequestBody $body, ?AtanhRequestBuilderPostRequestConfiguration $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 AtanhRequestBuilder - */ - public function withUrl(string $rawUrl): AtanhRequestBuilder { - return new AtanhRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 92872177911..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php deleted file mode 100644 index fe869e7f9ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AveDevPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AveDevPostRequestBody { - return new AveDevPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php deleted file mode 100644 index 999d0128aab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/aveDev'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action aveDev - * @param AveDevPostRequestBody $body The request body - * @param AveDevRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AveDevPostRequestBody $body, ?AveDevRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action aveDev - * @param AveDevPostRequestBody $body The request body - * @param AveDevRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AveDevPostRequestBody $body, ?AveDevRequestBuilderPostRequestConfiguration $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 AveDevRequestBuilder - */ - public function withUrl(string $rawUrl): AveDevRequestBuilder { - return new AveDevRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 07d7f87c3fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php deleted file mode 100644 index e0d45b5367a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AveragePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AveragePostRequestBody { - return new AveragePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php deleted file mode 100644 index d7ec0d6aed9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/average'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action average - * @param AveragePostRequestBody $body The request body - * @param AverageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AveragePostRequestBody $body, ?AverageRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action average - * @param AveragePostRequestBody $body The request body - * @param AverageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AveragePostRequestBody $body, ?AverageRequestBuilderPostRequestConfiguration $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 AverageRequestBuilder - */ - public function withUrl(string $rawUrl): AverageRequestBuilder { - return new AverageRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b534b1d2d54..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AverageRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php deleted file mode 100644 index 2a5db51d0cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AverageAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AverageAPostRequestBody { - return new AverageAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php deleted file mode 100644 index d86ed74d6b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/averageA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action averageA - * @param AverageAPostRequestBody $body The request body - * @param AverageARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AverageAPostRequestBody $body, ?AverageARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action averageA - * @param AverageAPostRequestBody $body The request body - * @param AverageARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AverageAPostRequestBody $body, ?AverageARequestBuilderPostRequestConfiguration $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 AverageARequestBuilder - */ - public function withUrl(string $rawUrl): AverageARequestBuilder { - return new AverageARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b9438677f99..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php deleted file mode 100644 index 0940c6f1d05..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AverageIfPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AverageIfPostRequestBody { - return new AverageIfPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index df9d1bbaa35..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php deleted file mode 100644 index 8b8058c50a4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AverageIfsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AverageIfsPostRequestBody { - return new AverageIfsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php deleted file mode 100644 index 4de89f65dd3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/averageIfs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action averageIfs - * @param AverageIfsPostRequestBody $body The request body - * @param AverageIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AverageIfsPostRequestBody $body, ?AverageIfsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action averageIfs - * @param AverageIfsPostRequestBody $body The request body - * @param AverageIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AverageIfsPostRequestBody $body, ?AverageIfsRequestBuilderPostRequestConfiguration $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 AverageIfsRequestBuilder - */ - public function withUrl(string $rawUrl): AverageIfsRequestBuilder { - return new AverageIfsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0dc76173b40..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php deleted file mode 100644 index 80a5d355847..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BahtTextPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BahtTextPostRequestBody { - return new BahtTextPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php deleted file mode 100644 index 81e434927f5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bahtText'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bahtText - * @param BahtTextPostRequestBody $body The request body - * @param BahtTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BahtTextPostRequestBody $body, ?BahtTextRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bahtText - * @param BahtTextPostRequestBody $body The request body - * @param BahtTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BahtTextPostRequestBody $body, ?BahtTextRequestBuilderPostRequestConfiguration $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 BahtTextRequestBuilder - */ - public function withUrl(string $rawUrl): BahtTextRequestBuilder { - return new BahtTextRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2019669cc88..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php deleted file mode 100644 index 74e2463f946..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BasePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BasePostRequestBody { - return new BasePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BaseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BaseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 187d87f1714..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BaseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php deleted file mode 100644 index 630721a545c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/base'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action base - * @param BasePostRequestBody $body The request body - * @param BaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BasePostRequestBody $body, ?BaseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action base - * @param BasePostRequestBody $body The request body - * @param BaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BasePostRequestBody $body, ?BaseRequestBuilderPostRequestConfiguration $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 EscapedBaseRequestBuilder - */ - public function withUrl(string $rawUrl): EscapedBaseRequestBuilder { - return new EscapedBaseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php deleted file mode 100644 index aa2abc4e545..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BesselIPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BesselIPostRequestBody { - return new BesselIPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php deleted file mode 100644 index 2f67d7a2cee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/besselI'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action besselI - * @param BesselIPostRequestBody $body The request body - * @param BesselIRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BesselIPostRequestBody $body, ?BesselIRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action besselI - * @param BesselIPostRequestBody $body The request body - * @param BesselIRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BesselIPostRequestBody $body, ?BesselIRequestBuilderPostRequestConfiguration $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 BesselIRequestBuilder - */ - public function withUrl(string $rawUrl): BesselIRequestBuilder { - return new BesselIRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5c0d866bb23..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php deleted file mode 100644 index 57aa88e0f10..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BesselJPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BesselJPostRequestBody { - return new BesselJPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php deleted file mode 100644 index ef39cde96b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/besselJ'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action besselJ - * @param BesselJPostRequestBody $body The request body - * @param BesselJRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BesselJPostRequestBody $body, ?BesselJRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action besselJ - * @param BesselJPostRequestBody $body The request body - * @param BesselJRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BesselJPostRequestBody $body, ?BesselJRequestBuilderPostRequestConfiguration $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 BesselJRequestBuilder - */ - public function withUrl(string $rawUrl): BesselJRequestBuilder { - return new BesselJRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2384135a734..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php deleted file mode 100644 index 4cb4898c87f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BesselKPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BesselKPostRequestBody { - return new BesselKPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php deleted file mode 100644 index 8cdade89b70..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/besselK'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action besselK - * @param BesselKPostRequestBody $body The request body - * @param BesselKRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BesselKPostRequestBody $body, ?BesselKRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action besselK - * @param BesselKPostRequestBody $body The request body - * @param BesselKRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BesselKPostRequestBody $body, ?BesselKRequestBuilderPostRequestConfiguration $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 BesselKRequestBuilder - */ - public function withUrl(string $rawUrl): BesselKRequestBuilder { - return new BesselKRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b08934ec2dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php deleted file mode 100644 index 42137b79962..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BesselYPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BesselYPostRequestBody { - return new BesselYPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php deleted file mode 100644 index 2339d0c9fcc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/besselY'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action besselY - * @param BesselYPostRequestBody $body The request body - * @param BesselYRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BesselYPostRequestBody $body, ?BesselYRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action besselY - * @param BesselYPostRequestBody $body The request body - * @param BesselYRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BesselYPostRequestBody $body, ?BesselYRequestBuilderPostRequestConfiguration $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 BesselYRequestBuilder - */ - public function withUrl(string $rawUrl): BesselYRequestBuilder { - return new BesselYRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 27214477bae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php deleted file mode 100644 index 2730a19a6e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Beta_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_DistPostRequestBody { - return new Beta_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php deleted file mode 100644 index 02695d64981..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/beta_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action beta_Dist - * @param Beta_DistPostRequestBody $body The request body - * @param Beta_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Beta_DistPostRequestBody $body, ?Beta_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action beta_Dist - * @param Beta_DistPostRequestBody $body The request body - * @param Beta_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Beta_DistPostRequestBody $body, ?Beta_DistRequestBuilderPostRequestConfiguration $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 Beta_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Beta_DistRequestBuilder { - return new Beta_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 30b0d64e4c3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php deleted file mode 100644 index a1217567ac6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Beta_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_InvPostRequestBody { - return new Beta_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php deleted file mode 100644 index d418bd0efe8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/beta_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action beta_Inv - * @param Beta_InvPostRequestBody $body The request body - * @param Beta_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Beta_InvPostRequestBody $body, ?Beta_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action beta_Inv - * @param Beta_InvPostRequestBody $body The request body - * @param Beta_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Beta_InvPostRequestBody $body, ?Beta_InvRequestBuilderPostRequestConfiguration $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 Beta_InvRequestBuilder - */ - public function withUrl(string $rawUrl): Beta_InvRequestBuilder { - return new Beta_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9067064e350..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php deleted file mode 100644 index 8829ba1790a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Bin2DecPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Bin2DecPostRequestBody { - return new Bin2DecPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php deleted file mode 100644 index 9d4539b508a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bin2Dec'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bin2Dec - * @param Bin2DecPostRequestBody $body The request body - * @param Bin2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Bin2DecPostRequestBody $body, ?Bin2DecRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bin2Dec - * @param Bin2DecPostRequestBody $body The request body - * @param Bin2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Bin2DecPostRequestBody $body, ?Bin2DecRequestBuilderPostRequestConfiguration $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 Bin2DecRequestBuilder - */ - public function withUrl(string $rawUrl): Bin2DecRequestBuilder { - return new Bin2DecRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4cd9999227a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php deleted file mode 100644 index 7718c2cb674..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Bin2HexPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Bin2HexPostRequestBody { - return new Bin2HexPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php deleted file mode 100644 index 1d206f84384..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bin2Hex'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bin2Hex - * @param Bin2HexPostRequestBody $body The request body - * @param Bin2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Bin2HexPostRequestBody $body, ?Bin2HexRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bin2Hex - * @param Bin2HexPostRequestBody $body The request body - * @param Bin2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Bin2HexPostRequestBody $body, ?Bin2HexRequestBuilderPostRequestConfiguration $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 Bin2HexRequestBuilder - */ - public function withUrl(string $rawUrl): Bin2HexRequestBuilder { - return new Bin2HexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0d4f78dd5ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php deleted file mode 100644 index d8f4aff092f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Bin2OctPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Bin2OctPostRequestBody { - return new Bin2OctPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php deleted file mode 100644 index d319be3e8f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bin2Oct'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bin2Oct - * @param Bin2OctPostRequestBody $body The request body - * @param Bin2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Bin2OctPostRequestBody $body, ?Bin2OctRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bin2Oct - * @param Bin2OctPostRequestBody $body The request body - * @param Bin2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Bin2OctPostRequestBody $body, ?Bin2OctRequestBuilderPostRequestConfiguration $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 Bin2OctRequestBuilder - */ - public function withUrl(string $rawUrl): Bin2OctRequestBuilder { - return new Bin2OctRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c61cce3fd7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php deleted file mode 100644 index 917a76d8818..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Binom_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Binom_DistPostRequestBody { - return new Binom_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php deleted file mode 100644 index 4db06c2fbd0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/binom_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action binom_Dist - * @param Binom_DistPostRequestBody $body The request body - * @param Binom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Binom_DistPostRequestBody $body, ?Binom_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action binom_Dist - * @param Binom_DistPostRequestBody $body The request body - * @param Binom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Binom_DistPostRequestBody $body, ?Binom_DistRequestBuilderPostRequestConfiguration $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 Binom_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Binom_DistRequestBuilder { - return new Binom_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fb07b1a1533..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php deleted file mode 100644 index dbbbd61aac3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Binom_Dist_RangePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Binom_Dist_RangePostRequestBody { - return new Binom_Dist_RangePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php deleted file mode 100644 index 435c08e735b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/binom_Dist_Range'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action binom_Dist_Range - * @param Binom_Dist_RangePostRequestBody $body The request body - * @param Binom_Dist_RangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Binom_Dist_RangePostRequestBody $body, ?Binom_Dist_RangeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action binom_Dist_Range - * @param Binom_Dist_RangePostRequestBody $body The request body - * @param Binom_Dist_RangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Binom_Dist_RangePostRequestBody $body, ?Binom_Dist_RangeRequestBuilderPostRequestConfiguration $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 Binom_Dist_RangeRequestBuilder - */ - public function withUrl(string $rawUrl): Binom_Dist_RangeRequestBuilder { - return new Binom_Dist_RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bbc62870698..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php deleted file mode 100644 index fba0333767d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Binom_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Binom_InvPostRequestBody { - return new Binom_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php deleted file mode 100644 index 50b28a5dd72..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/binom_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action binom_Inv - * @param Binom_InvPostRequestBody $body The request body - * @param Binom_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Binom_InvPostRequestBody $body, ?Binom_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action binom_Inv - * @param Binom_InvPostRequestBody $body The request body - * @param Binom_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Binom_InvPostRequestBody $body, ?Binom_InvRequestBuilderPostRequestConfiguration $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 Binom_InvRequestBuilder - */ - public function withUrl(string $rawUrl): Binom_InvRequestBuilder { - return new Binom_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9cea4caa2a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php deleted file mode 100644 index ac7b1abb4fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BitandPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BitandPostRequestBody { - return new BitandPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php deleted file mode 100644 index dcacfea8836..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bitand'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bitand - * @param BitandPostRequestBody $body The request body - * @param BitandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BitandPostRequestBody $body, ?BitandRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bitand - * @param BitandPostRequestBody $body The request body - * @param BitandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BitandPostRequestBody $body, ?BitandRequestBuilderPostRequestConfiguration $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 BitandRequestBuilder - */ - public function withUrl(string $rawUrl): BitandRequestBuilder { - return new BitandRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9c0d93c8045..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php deleted file mode 100644 index d804df1ad81..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BitlshiftPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BitlshiftPostRequestBody { - return new BitlshiftPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php deleted file mode 100644 index e1898bbc258..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bitlshift'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bitlshift - * @param BitlshiftPostRequestBody $body The request body - * @param BitlshiftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BitlshiftPostRequestBody $body, ?BitlshiftRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bitlshift - * @param BitlshiftPostRequestBody $body The request body - * @param BitlshiftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BitlshiftPostRequestBody $body, ?BitlshiftRequestBuilderPostRequestConfiguration $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 BitlshiftRequestBuilder - */ - public function withUrl(string $rawUrl): BitlshiftRequestBuilder { - return new BitlshiftRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fb0807e339f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php deleted file mode 100644 index 0039552b796..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BitorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BitorPostRequestBody { - return new BitorPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php deleted file mode 100644 index bc6c9f868d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bitor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bitor - * @param BitorPostRequestBody $body The request body - * @param BitorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BitorPostRequestBody $body, ?BitorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bitor - * @param BitorPostRequestBody $body The request body - * @param BitorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BitorPostRequestBody $body, ?BitorRequestBuilderPostRequestConfiguration $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 BitorRequestBuilder - */ - public function withUrl(string $rawUrl): BitorRequestBuilder { - return new BitorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7f7787dc571..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php deleted file mode 100644 index 1d03fc3d542..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BitrshiftPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BitrshiftPostRequestBody { - return new BitrshiftPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php deleted file mode 100644 index 60fa9db4565..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bitrshift'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bitrshift - * @param BitrshiftPostRequestBody $body The request body - * @param BitrshiftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BitrshiftPostRequestBody $body, ?BitrshiftRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bitrshift - * @param BitrshiftPostRequestBody $body The request body - * @param BitrshiftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BitrshiftPostRequestBody $body, ?BitrshiftRequestBuilderPostRequestConfiguration $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 BitrshiftRequestBuilder - */ - public function withUrl(string $rawUrl): BitrshiftRequestBuilder { - return new BitrshiftRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3521874f354..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php deleted file mode 100644 index e3a6eb5c99a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return BitxorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): BitxorPostRequestBody { - return new BitxorPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php deleted file mode 100644 index 2292862c746..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/bitxor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action bitxor - * @param BitxorPostRequestBody $body The request body - * @param BitxorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(BitxorPostRequestBody $body, ?BitxorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action bitxor - * @param BitxorPostRequestBody $body The request body - * @param BitxorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(BitxorPostRequestBody $body, ?BitxorRequestBuilderPostRequestConfiguration $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 BitxorRequestBuilder - */ - public function withUrl(string $rawUrl): BitxorRequestBuilder { - return new BitxorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 63fcc622dad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php deleted file mode 100644 index 7ae77e8daf0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Ceiling_MathPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Ceiling_MathPostRequestBody { - return new Ceiling_MathPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php deleted file mode 100644 index de95a87b41e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ceiling_Math'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ceiling_Math - * @param Ceiling_MathPostRequestBody $body The request body - * @param Ceiling_MathRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Ceiling_MathPostRequestBody $body, ?Ceiling_MathRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ceiling_Math - * @param Ceiling_MathPostRequestBody $body The request body - * @param Ceiling_MathRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Ceiling_MathPostRequestBody $body, ?Ceiling_MathRequestBuilderPostRequestConfiguration $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 Ceiling_MathRequestBuilder - */ - public function withUrl(string $rawUrl): Ceiling_MathRequestBuilder { - return new Ceiling_MathRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5e4bf6b1b19..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php deleted file mode 100644 index 2cc8196ffa0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Ceiling_PrecisePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Ceiling_PrecisePostRequestBody { - return new Ceiling_PrecisePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php deleted file mode 100644 index 98ca0f67efa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ceiling_Precise'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ceiling_Precise - * @param Ceiling_PrecisePostRequestBody $body The request body - * @param Ceiling_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Ceiling_PrecisePostRequestBody $body, ?Ceiling_PreciseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ceiling_Precise - * @param Ceiling_PrecisePostRequestBody $body The request body - * @param Ceiling_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Ceiling_PrecisePostRequestBody $body, ?Ceiling_PreciseRequestBuilderPostRequestConfiguration $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 Ceiling_PreciseRequestBuilder - */ - public function withUrl(string $rawUrl): Ceiling_PreciseRequestBuilder { - return new Ceiling_PreciseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2c021474c3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php deleted file mode 100644 index c59ce59f8ce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CharPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CharPostRequestBody { - return new CharPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php deleted file mode 100644 index 60afb4dfdac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/char'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action char - * @param CharPostRequestBody $body The request body - * @param CharRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CharPostRequestBody $body, ?CharRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action char - * @param CharPostRequestBody $body The request body - * @param CharRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CharPostRequestBody $body, ?CharRequestBuilderPostRequestConfiguration $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 CharRequestBuilder - */ - public function withUrl(string $rawUrl): CharRequestBuilder { - return new CharRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ed6276e8a1d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php deleted file mode 100644 index d69215a1946..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChiSq_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChiSq_DistPostRequestBody { - return new ChiSq_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php deleted file mode 100644 index 578fd3159b0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/chiSq_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action chiSq_Dist - * @param ChiSq_DistPostRequestBody $body The request body - * @param ChiSq_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ChiSq_DistPostRequestBody $body, ?ChiSq_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action chiSq_Dist - * @param ChiSq_DistPostRequestBody $body The request body - * @param ChiSq_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ChiSq_DistPostRequestBody $body, ?ChiSq_DistRequestBuilderPostRequestConfiguration $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 ChiSq_DistRequestBuilder - */ - public function withUrl(string $rawUrl): ChiSq_DistRequestBuilder { - return new ChiSq_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6700358a4f7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php deleted file mode 100644 index 358982af63c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChiSq_Dist_RTPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChiSq_Dist_RTPostRequestBody { - return new ChiSq_Dist_RTPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php deleted file mode 100644 index a9441ba39d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/chiSq_Dist_RT'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action chiSq_Dist_RT - * @param ChiSq_Dist_RTPostRequestBody $body The request body - * @param ChiSq_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ChiSq_Dist_RTPostRequestBody $body, ?ChiSq_Dist_RTRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action chiSq_Dist_RT - * @param ChiSq_Dist_RTPostRequestBody $body The request body - * @param ChiSq_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ChiSq_Dist_RTPostRequestBody $body, ?ChiSq_Dist_RTRequestBuilderPostRequestConfiguration $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 ChiSq_Dist_RTRequestBuilder - */ - public function withUrl(string $rawUrl): ChiSq_Dist_RTRequestBuilder { - return new ChiSq_Dist_RTRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d080f6ebbee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php deleted file mode 100644 index 6c3479af67e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChiSq_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChiSq_InvPostRequestBody { - return new ChiSq_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php deleted file mode 100644 index b960b368841..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/chiSq_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action chiSq_Inv - * @param ChiSq_InvPostRequestBody $body The request body - * @param ChiSq_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ChiSq_InvPostRequestBody $body, ?ChiSq_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action chiSq_Inv - * @param ChiSq_InvPostRequestBody $body The request body - * @param ChiSq_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ChiSq_InvPostRequestBody $body, ?ChiSq_InvRequestBuilderPostRequestConfiguration $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 ChiSq_InvRequestBuilder - */ - public function withUrl(string $rawUrl): ChiSq_InvRequestBuilder { - return new ChiSq_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d98a5bdf416..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php deleted file mode 100644 index 295e7695442..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChiSq_Inv_RTPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChiSq_Inv_RTPostRequestBody { - return new ChiSq_Inv_RTPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php deleted file mode 100644 index 7a752054971..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/chiSq_Inv_RT'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action chiSq_Inv_RT - * @param ChiSq_Inv_RTPostRequestBody $body The request body - * @param ChiSq_Inv_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ChiSq_Inv_RTPostRequestBody $body, ?ChiSq_Inv_RTRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action chiSq_Inv_RT - * @param ChiSq_Inv_RTPostRequestBody $body The request body - * @param ChiSq_Inv_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ChiSq_Inv_RTPostRequestBody $body, ?ChiSq_Inv_RTRequestBuilderPostRequestConfiguration $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 ChiSq_Inv_RTRequestBuilder - */ - public function withUrl(string $rawUrl): ChiSq_Inv_RTRequestBuilder { - return new ChiSq_Inv_RTRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 76faa5fc0e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php deleted file mode 100644 index 232ffd3b4d1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChoosePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChoosePostRequestBody { - return new ChoosePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php deleted file mode 100644 index 3e6baf1deff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/choose'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action choose - * @param ChoosePostRequestBody $body The request body - * @param ChooseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ChoosePostRequestBody $body, ?ChooseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action choose - * @param ChoosePostRequestBody $body The request body - * @param ChooseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ChoosePostRequestBody $body, ?ChooseRequestBuilderPostRequestConfiguration $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 ChooseRequestBuilder - */ - public function withUrl(string $rawUrl): ChooseRequestBuilder { - return new ChooseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f25f2ac9074..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php deleted file mode 100644 index 7cd022a59a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CleanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CleanPostRequestBody { - return new CleanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php deleted file mode 100644 index 718f55fe298..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/clean'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action clean - * @param CleanPostRequestBody $body The request body - * @param CleanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CleanPostRequestBody $body, ?CleanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action clean - * @param CleanPostRequestBody $body The request body - * @param CleanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CleanPostRequestBody $body, ?CleanRequestBuilderPostRequestConfiguration $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 CleanRequestBuilder - */ - public function withUrl(string $rawUrl): CleanRequestBuilder { - return new CleanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b2c9aef0385..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php deleted file mode 100644 index b312888666c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CodePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CodePostRequestBody { - return new CodePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php deleted file mode 100644 index 312050fc899..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/code'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action code - * @param CodePostRequestBody $body The request body - * @param CodeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CodePostRequestBody $body, ?CodeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action code - * @param CodePostRequestBody $body The request body - * @param CodeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CodePostRequestBody $body, ?CodeRequestBuilderPostRequestConfiguration $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 CodeRequestBuilder - */ - public function withUrl(string $rawUrl): CodeRequestBuilder { - return new CodeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f96a29911d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php deleted file mode 100644 index feb6f2a9fb1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ColumnsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ColumnsPostRequestBody { - return new ColumnsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index 2baf4c37348..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/columns'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action columns - * @param ColumnsPostRequestBody $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ColumnsPostRequestBody $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action columns - * @param ColumnsPostRequestBody $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ColumnsPostRequestBody $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f5c9d3a0b55..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php deleted file mode 100644 index 467ef726074..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CombinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CombinPostRequestBody { - return new CombinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php deleted file mode 100644 index 251fa92ad4c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/combin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action combin - * @param CombinPostRequestBody $body The request body - * @param CombinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CombinPostRequestBody $body, ?CombinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action combin - * @param CombinPostRequestBody $body The request body - * @param CombinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CombinPostRequestBody $body, ?CombinRequestBuilderPostRequestConfiguration $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 CombinRequestBuilder - */ - public function withUrl(string $rawUrl): CombinRequestBuilder { - return new CombinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cab5c87b508..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php deleted file mode 100644 index 6006474806d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CombinaPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CombinaPostRequestBody { - return new CombinaPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php deleted file mode 100644 index 8b50343dfcc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/combina'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action combina - * @param CombinaPostRequestBody $body The request body - * @param CombinaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CombinaPostRequestBody $body, ?CombinaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action combina - * @param CombinaPostRequestBody $body The request body - * @param CombinaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CombinaPostRequestBody $body, ?CombinaRequestBuilderPostRequestConfiguration $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 CombinaRequestBuilder - */ - public function withUrl(string $rawUrl): CombinaRequestBuilder { - return new CombinaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8fc5449c066..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php deleted file mode 100644 index 1d114b307ac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ComplexPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ComplexPostRequestBody { - return new ComplexPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php deleted file mode 100644 index ada03d6edaa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/complex'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action complex - * @param ComplexPostRequestBody $body The request body - * @param ComplexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ComplexPostRequestBody $body, ?ComplexRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action complex - * @param ComplexPostRequestBody $body The request body - * @param ComplexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ComplexPostRequestBody $body, ?ComplexRequestBuilderPostRequestConfiguration $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 ComplexRequestBuilder - */ - public function withUrl(string $rawUrl): ComplexRequestBuilder { - return new ComplexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 68d82110678..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php deleted file mode 100644 index 67301c41f47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ConcatenatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConcatenatePostRequestBody { - return new ConcatenatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php deleted file mode 100644 index 3d99a705e43..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/concatenate'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action concatenate - * @param ConcatenatePostRequestBody $body The request body - * @param ConcatenateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ConcatenatePostRequestBody $body, ?ConcatenateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action concatenate - * @param ConcatenatePostRequestBody $body The request body - * @param ConcatenateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ConcatenatePostRequestBody $body, ?ConcatenateRequestBuilderPostRequestConfiguration $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 ConcatenateRequestBuilder - */ - public function withUrl(string $rawUrl): ConcatenateRequestBuilder { - return new ConcatenateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ae2159f7a05..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php deleted file mode 100644 index a260924faba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Confidence_NormPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Confidence_NormPostRequestBody { - return new Confidence_NormPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php deleted file mode 100644 index 679712e08d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/confidence_Norm'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action confidence_Norm - * @param Confidence_NormPostRequestBody $body The request body - * @param Confidence_NormRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Confidence_NormPostRequestBody $body, ?Confidence_NormRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action confidence_Norm - * @param Confidence_NormPostRequestBody $body The request body - * @param Confidence_NormRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Confidence_NormPostRequestBody $body, ?Confidence_NormRequestBuilderPostRequestConfiguration $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 Confidence_NormRequestBuilder - */ - public function withUrl(string $rawUrl): Confidence_NormRequestBuilder { - return new Confidence_NormRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3ab14d20dd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php deleted file mode 100644 index 75e76761fd8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Confidence_TPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Confidence_TPostRequestBody { - return new Confidence_TPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php deleted file mode 100644 index fb049974656..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/confidence_T'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action confidence_T - * @param Confidence_TPostRequestBody $body The request body - * @param Confidence_TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Confidence_TPostRequestBody $body, ?Confidence_TRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action confidence_T - * @param Confidence_TPostRequestBody $body The request body - * @param Confidence_TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Confidence_TPostRequestBody $body, ?Confidence_TRequestBuilderPostRequestConfiguration $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 Confidence_TRequestBuilder - */ - public function withUrl(string $rawUrl): Confidence_TRequestBuilder { - return new Confidence_TRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 169b01db84d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php deleted file mode 100644 index f4707e195ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ConvertPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConvertPostRequestBody { - return new ConvertPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php deleted file mode 100644 index 984712b246b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/convert'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action convert - * @param ConvertPostRequestBody $body The request body - * @param ConvertRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ConvertPostRequestBody $body, ?ConvertRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action convert - * @param ConvertPostRequestBody $body The request body - * @param ConvertRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ConvertPostRequestBody $body, ?ConvertRequestBuilderPostRequestConfiguration $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 ConvertRequestBuilder - */ - public function withUrl(string $rawUrl): ConvertRequestBuilder { - return new ConvertRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6b3a8c52d9b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php deleted file mode 100644 index c0aa7454264..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CosPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CosPostRequestBody { - return new CosPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php deleted file mode 100644 index 83102733dc7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/cos'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action cos - * @param CosPostRequestBody $body The request body - * @param CosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CosPostRequestBody $body, ?CosRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action cos - * @param CosPostRequestBody $body The request body - * @param CosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CosPostRequestBody $body, ?CosRequestBuilderPostRequestConfiguration $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 CosRequestBuilder - */ - public function withUrl(string $rawUrl): CosRequestBuilder { - return new CosRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 88e8a6b2376..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php deleted file mode 100644 index 2a5b029db65..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoshPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoshPostRequestBody { - return new CoshPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php deleted file mode 100644 index 06fe8e1ec43..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/cosh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action cosh - * @param CoshPostRequestBody $body The request body - * @param CoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoshPostRequestBody $body, ?CoshRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action cosh - * @param CoshPostRequestBody $body The request body - * @param CoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoshPostRequestBody $body, ?CoshRequestBuilderPostRequestConfiguration $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 CoshRequestBuilder - */ - public function withUrl(string $rawUrl): CoshRequestBuilder { - return new CoshRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fa0ea31431c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php deleted file mode 100644 index 4329968312b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CotPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CotPostRequestBody { - return new CotPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php deleted file mode 100644 index 1189342d287..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/cot'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action cot - * @param CotPostRequestBody $body The request body - * @param CotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CotPostRequestBody $body, ?CotRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action cot - * @param CotPostRequestBody $body The request body - * @param CotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CotPostRequestBody $body, ?CotRequestBuilderPostRequestConfiguration $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 CotRequestBuilder - */ - public function withUrl(string $rawUrl): CotRequestBuilder { - return new CotRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5a4c1f4ae8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php deleted file mode 100644 index f36f7e45705..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CothPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CothPostRequestBody { - return new CothPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php deleted file mode 100644 index 43fff5f72d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coth'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coth - * @param CothPostRequestBody $body The request body - * @param CothRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CothPostRequestBody $body, ?CothRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coth - * @param CothPostRequestBody $body The request body - * @param CothRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CothPostRequestBody $body, ?CothRequestBuilderPostRequestConfiguration $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 CothRequestBuilder - */ - public function withUrl(string $rawUrl): CothRequestBuilder { - return new CothRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 33d331c959f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php deleted file mode 100644 index b025e0d5dbf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountPostRequestBody { - return new CountPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php deleted file mode 100644 index e45e8897f84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/count'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action count - * @param CountPostRequestBody $body The request body - * @param CountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CountPostRequestBody $body, ?CountRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action count - * @param CountPostRequestBody $body The request body - * @param CountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CountPostRequestBody $body, ?CountRequestBuilderPostRequestConfiguration $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 CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d200d674b7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php deleted file mode 100644 index e0a444e483c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountAPostRequestBody { - return new CountAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php deleted file mode 100644 index dbc46e9e429..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/countA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action countA - * @param CountAPostRequestBody $body The request body - * @param CountARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CountAPostRequestBody $body, ?CountARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action countA - * @param CountAPostRequestBody $body The request body - * @param CountARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CountAPostRequestBody $body, ?CountARequestBuilderPostRequestConfiguration $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 CountARequestBuilder - */ - public function withUrl(string $rawUrl): CountARequestBuilder { - return new CountARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7baa7a48867..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php deleted file mode 100644 index 28682867275..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountBlankPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountBlankPostRequestBody { - return new CountBlankPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php deleted file mode 100644 index 8a1741db81d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/countBlank'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action countBlank - * @param CountBlankPostRequestBody $body The request body - * @param CountBlankRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CountBlankPostRequestBody $body, ?CountBlankRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action countBlank - * @param CountBlankPostRequestBody $body The request body - * @param CountBlankRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CountBlankPostRequestBody $body, ?CountBlankRequestBuilderPostRequestConfiguration $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 CountBlankRequestBuilder - */ - public function withUrl(string $rawUrl): CountBlankRequestBuilder { - return new CountBlankRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4c7a4aa21e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php deleted file mode 100644 index 97f32309e50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountIfPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountIfPostRequestBody { - return new CountIfPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php deleted file mode 100644 index f461e5bdf7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/countIf'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action countIf - * @param CountIfPostRequestBody $body The request body - * @param CountIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CountIfPostRequestBody $body, ?CountIfRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action countIf - * @param CountIfPostRequestBody $body The request body - * @param CountIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CountIfPostRequestBody $body, ?CountIfRequestBuilderPostRequestConfiguration $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 CountIfRequestBuilder - */ - public function withUrl(string $rawUrl): CountIfRequestBuilder { - return new CountIfRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 05be32fc166..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php deleted file mode 100644 index e1954f41998..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountIfsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountIfsPostRequestBody { - return new CountIfsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php deleted file mode 100644 index 00b4e6a9912..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/countIfs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action countIfs - * @param CountIfsPostRequestBody $body The request body - * @param CountIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CountIfsPostRequestBody $body, ?CountIfsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action countIfs - * @param CountIfsPostRequestBody $body The request body - * @param CountIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CountIfsPostRequestBody $body, ?CountIfsRequestBuilderPostRequestConfiguration $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 CountIfsRequestBuilder - */ - public function withUrl(string $rawUrl): CountIfsRequestBuilder { - return new CountIfsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8e8e702c4fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php deleted file mode 100644 index 6a1b6b4b0e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupDayBsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupDayBsPostRequestBody { - return new CoupDayBsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php deleted file mode 100644 index b18cbfef391..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupDayBs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupDayBs - * @param CoupDayBsPostRequestBody $body The request body - * @param CoupDayBsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupDayBsPostRequestBody $body, ?CoupDayBsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupDayBs - * @param CoupDayBsPostRequestBody $body The request body - * @param CoupDayBsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupDayBsPostRequestBody $body, ?CoupDayBsRequestBuilderPostRequestConfiguration $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 CoupDayBsRequestBuilder - */ - public function withUrl(string $rawUrl): CoupDayBsRequestBuilder { - return new CoupDayBsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cedb1eea671..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php deleted file mode 100644 index f745fc6ad5d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupDaysPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupDaysPostRequestBody { - return new CoupDaysPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php deleted file mode 100644 index 903f7af530a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupDays'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupDays - * @param CoupDaysPostRequestBody $body The request body - * @param CoupDaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupDaysPostRequestBody $body, ?CoupDaysRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupDays - * @param CoupDaysPostRequestBody $body The request body - * @param CoupDaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupDaysPostRequestBody $body, ?CoupDaysRequestBuilderPostRequestConfiguration $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 CoupDaysRequestBuilder - */ - public function withUrl(string $rawUrl): CoupDaysRequestBuilder { - return new CoupDaysRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3496554a8aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php deleted file mode 100644 index d7a1096fd73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupDaysNcPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupDaysNcPostRequestBody { - return new CoupDaysNcPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php deleted file mode 100644 index 7b5a8803a30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupDaysNc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupDaysNc - * @param CoupDaysNcPostRequestBody $body The request body - * @param CoupDaysNcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupDaysNcPostRequestBody $body, ?CoupDaysNcRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupDaysNc - * @param CoupDaysNcPostRequestBody $body The request body - * @param CoupDaysNcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupDaysNcPostRequestBody $body, ?CoupDaysNcRequestBuilderPostRequestConfiguration $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 CoupDaysNcRequestBuilder - */ - public function withUrl(string $rawUrl): CoupDaysNcRequestBuilder { - return new CoupDaysNcRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b728e1563f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php deleted file mode 100644 index 8c0da72a8e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupNcdPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupNcdPostRequestBody { - return new CoupNcdPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php deleted file mode 100644 index e53c3c80068..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupNcd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupNcd - * @param CoupNcdPostRequestBody $body The request body - * @param CoupNcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupNcdPostRequestBody $body, ?CoupNcdRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupNcd - * @param CoupNcdPostRequestBody $body The request body - * @param CoupNcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupNcdPostRequestBody $body, ?CoupNcdRequestBuilderPostRequestConfiguration $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 CoupNcdRequestBuilder - */ - public function withUrl(string $rawUrl): CoupNcdRequestBuilder { - return new CoupNcdRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 536ee222030..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php deleted file mode 100644 index d0574b1f6e4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupNumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupNumPostRequestBody { - return new CoupNumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php deleted file mode 100644 index 3f4a231d5b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupNum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupNum - * @param CoupNumPostRequestBody $body The request body - * @param CoupNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupNumPostRequestBody $body, ?CoupNumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupNum - * @param CoupNumPostRequestBody $body The request body - * @param CoupNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupNumPostRequestBody $body, ?CoupNumRequestBuilderPostRequestConfiguration $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 CoupNumRequestBuilder - */ - public function withUrl(string $rawUrl): CoupNumRequestBuilder { - return new CoupNumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b357d3a85c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php deleted file mode 100644 index 93ff0d74b84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CoupPcdPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CoupPcdPostRequestBody { - return new CoupPcdPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php deleted file mode 100644 index 7030a9647ac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/coupPcd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action coupPcd - * @param CoupPcdPostRequestBody $body The request body - * @param CoupPcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CoupPcdPostRequestBody $body, ?CoupPcdRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action coupPcd - * @param CoupPcdPostRequestBody $body The request body - * @param CoupPcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CoupPcdPostRequestBody $body, ?CoupPcdRequestBuilderPostRequestConfiguration $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 CoupPcdRequestBuilder - */ - public function withUrl(string $rawUrl): CoupPcdRequestBuilder { - return new CoupPcdRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 248690dd188..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php deleted file mode 100644 index 18062c1a696..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CscPostRequestBody { - return new CscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php deleted file mode 100644 index efc84533244..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/csc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action csc - * @param CscPostRequestBody $body The request body - * @param CscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CscPostRequestBody $body, ?CscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action csc - * @param CscPostRequestBody $body The request body - * @param CscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CscPostRequestBody $body, ?CscRequestBuilderPostRequestConfiguration $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 CscRequestBuilder - */ - public function withUrl(string $rawUrl): CscRequestBuilder { - return new CscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 27f0797fd41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php deleted file mode 100644 index d0144187be2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CschPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CschPostRequestBody { - return new CschPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php deleted file mode 100644 index 6f0da49090c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/csch'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action csch - * @param CschPostRequestBody $body The request body - * @param CschRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CschPostRequestBody $body, ?CschRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action csch - * @param CschPostRequestBody $body The request body - * @param CschRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CschPostRequestBody $body, ?CschRequestBuilderPostRequestConfiguration $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 CschRequestBuilder - */ - public function withUrl(string $rawUrl): CschRequestBuilder { - return new CschRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8a296816128..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php deleted file mode 100644 index 7851efb53bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CumIPmtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CumIPmtPostRequestBody { - return new CumIPmtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php deleted file mode 100644 index 486f2dff6a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/cumIPmt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action cumIPmt - * @param CumIPmtPostRequestBody $body The request body - * @param CumIPmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CumIPmtPostRequestBody $body, ?CumIPmtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action cumIPmt - * @param CumIPmtPostRequestBody $body The request body - * @param CumIPmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CumIPmtPostRequestBody $body, ?CumIPmtRequestBuilderPostRequestConfiguration $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 CumIPmtRequestBuilder - */ - public function withUrl(string $rawUrl): CumIPmtRequestBuilder { - return new CumIPmtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3e95029360d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php deleted file mode 100644 index 1bfb46f1285..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CumPrincPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CumPrincPostRequestBody { - return new CumPrincPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php deleted file mode 100644 index 8f220b1c6b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/cumPrinc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action cumPrinc - * @param CumPrincPostRequestBody $body The request body - * @param CumPrincRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(CumPrincPostRequestBody $body, ?CumPrincRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action cumPrinc - * @param CumPrincPostRequestBody $body The request body - * @param CumPrincRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(CumPrincPostRequestBody $body, ?CumPrincRequestBuilderPostRequestConfiguration $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 CumPrincRequestBuilder - */ - public function withUrl(string $rawUrl): CumPrincRequestBuilder { - return new CumPrincRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8de3ebb61e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php deleted file mode 100644 index a43e36c88ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DatePostRequestBody { - return new DatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php deleted file mode 100644 index 2aa2ab3ae87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/date'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action date - * @param DatePostRequestBody $body The request body - * @param DateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DatePostRequestBody $body, ?DateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action date - * @param DatePostRequestBody $body The request body - * @param DateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DatePostRequestBody $body, ?DateRequestBuilderPostRequestConfiguration $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 DateRequestBuilder - */ - public function withUrl(string $rawUrl): DateRequestBuilder { - return new DateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cb95fcdb1d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php deleted file mode 100644 index 8de44c8d719..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DatevaluePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DatevaluePostRequestBody { - return new DatevaluePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php deleted file mode 100644 index 76db6749f58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/datevalue'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action datevalue - * @param DatevaluePostRequestBody $body The request body - * @param DatevalueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DatevaluePostRequestBody $body, ?DatevalueRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action datevalue - * @param DatevaluePostRequestBody $body The request body - * @param DatevalueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DatevaluePostRequestBody $body, ?DatevalueRequestBuilderPostRequestConfiguration $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 DatevalueRequestBuilder - */ - public function withUrl(string $rawUrl): DatevalueRequestBuilder { - return new DatevalueRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bf47caf429b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php deleted file mode 100644 index a0d096ffe25..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DaveragePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DaveragePostRequestBody { - return new DaveragePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php deleted file mode 100644 index f4bf507ebf5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/daverage'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action daverage - * @param DaveragePostRequestBody $body The request body - * @param DaverageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DaveragePostRequestBody $body, ?DaverageRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action daverage - * @param DaveragePostRequestBody $body The request body - * @param DaverageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DaveragePostRequestBody $body, ?DaverageRequestBuilderPostRequestConfiguration $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 DaverageRequestBuilder - */ - public function withUrl(string $rawUrl): DaverageRequestBuilder { - return new DaverageRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e55c40a75ce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php deleted file mode 100644 index 3b471f338f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DayPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DayPostRequestBody { - return new DayPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php deleted file mode 100644 index 530d98cdc7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/day'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action day - * @param DayPostRequestBody $body The request body - * @param DayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DayPostRequestBody $body, ?DayRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action day - * @param DayPostRequestBody $body The request body - * @param DayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DayPostRequestBody $body, ?DayRequestBuilderPostRequestConfiguration $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 DayRequestBuilder - */ - public function withUrl(string $rawUrl): DayRequestBuilder { - return new DayRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6b09f774ee4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php deleted file mode 100644 index ea4df0eea63..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DaysPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DaysPostRequestBody { - return new DaysPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php deleted file mode 100644 index f7ddc3630a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/days'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action days - * @param DaysPostRequestBody $body The request body - * @param DaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DaysPostRequestBody $body, ?DaysRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action days - * @param DaysPostRequestBody $body The request body - * @param DaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DaysPostRequestBody $body, ?DaysRequestBuilderPostRequestConfiguration $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 DaysRequestBuilder - */ - public function withUrl(string $rawUrl): DaysRequestBuilder { - return new DaysRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 00c5cc7e1ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php deleted file mode 100644 index 7de7a29dc50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Days360PostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Days360PostRequestBody { - return new Days360PostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php deleted file mode 100644 index dcd2d10f293..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/days360'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action days360 - * @param Days360PostRequestBody $body The request body - * @param Days360RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Days360PostRequestBody $body, ?Days360RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action days360 - * @param Days360PostRequestBody $body The request body - * @param Days360RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Days360PostRequestBody $body, ?Days360RequestBuilderPostRequestConfiguration $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 Days360RequestBuilder - */ - public function withUrl(string $rawUrl): Days360RequestBuilder { - return new Days360RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d02d331057a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360RequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php deleted file mode 100644 index 8516efaef0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DbPostRequestBody { - return new DbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php deleted file mode 100644 index 644f0378ebf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/db'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action db - * @param DbPostRequestBody $body The request body - * @param DbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DbPostRequestBody $body, ?DbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action db - * @param DbPostRequestBody $body The request body - * @param DbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DbPostRequestBody $body, ?DbRequestBuilderPostRequestConfiguration $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 DbRequestBuilder - */ - public function withUrl(string $rawUrl): DbRequestBuilder { - return new DbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 75c86b75cca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php deleted file mode 100644 index e1101d4da1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DbcsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DbcsPostRequestBody { - return new DbcsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php deleted file mode 100644 index 6f117804632..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dbcs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dbcs - * @param DbcsPostRequestBody $body The request body - * @param DbcsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DbcsPostRequestBody $body, ?DbcsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dbcs - * @param DbcsPostRequestBody $body The request body - * @param DbcsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DbcsPostRequestBody $body, ?DbcsRequestBuilderPostRequestConfiguration $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 DbcsRequestBuilder - */ - public function withUrl(string $rawUrl): DbcsRequestBuilder { - return new DbcsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1603d9ffcc0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php deleted file mode 100644 index 485a35673d6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DcountPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DcountPostRequestBody { - return new DcountPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php deleted file mode 100644 index 34e57cb4e0e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dcount'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dcount - * @param DcountPostRequestBody $body The request body - * @param DcountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DcountPostRequestBody $body, ?DcountRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dcount - * @param DcountPostRequestBody $body The request body - * @param DcountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DcountPostRequestBody $body, ?DcountRequestBuilderPostRequestConfiguration $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 DcountRequestBuilder - */ - public function withUrl(string $rawUrl): DcountRequestBuilder { - return new DcountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3398dff4eff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php deleted file mode 100644 index ed3757d2408..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DcountAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DcountAPostRequestBody { - return new DcountAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php deleted file mode 100644 index cf5710ccd7a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dcountA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dcountA - * @param DcountAPostRequestBody $body The request body - * @param DcountARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DcountAPostRequestBody $body, ?DcountARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dcountA - * @param DcountAPostRequestBody $body The request body - * @param DcountARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DcountAPostRequestBody $body, ?DcountARequestBuilderPostRequestConfiguration $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 DcountARequestBuilder - */ - public function withUrl(string $rawUrl): DcountARequestBuilder { - return new DcountARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fd85e747c15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php deleted file mode 100644 index 262e14d9563..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DdbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DdbPostRequestBody { - return new DdbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php deleted file mode 100644 index b2122143f47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ddb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ddb - * @param DdbPostRequestBody $body The request body - * @param DdbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DdbPostRequestBody $body, ?DdbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ddb - * @param DdbPostRequestBody $body The request body - * @param DdbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DdbPostRequestBody $body, ?DdbRequestBuilderPostRequestConfiguration $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 DdbRequestBuilder - */ - public function withUrl(string $rawUrl): DdbRequestBuilder { - return new DdbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 03ddff5216c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php deleted file mode 100644 index 3e98c57dd94..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Dec2BinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Dec2BinPostRequestBody { - return new Dec2BinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php deleted file mode 100644 index f198168d7f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dec2Bin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dec2Bin - * @param Dec2BinPostRequestBody $body The request body - * @param Dec2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Dec2BinPostRequestBody $body, ?Dec2BinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dec2Bin - * @param Dec2BinPostRequestBody $body The request body - * @param Dec2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Dec2BinPostRequestBody $body, ?Dec2BinRequestBuilderPostRequestConfiguration $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 Dec2BinRequestBuilder - */ - public function withUrl(string $rawUrl): Dec2BinRequestBuilder { - return new Dec2BinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 316fb278190..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php deleted file mode 100644 index 5e39a4c3d6e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Dec2HexPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Dec2HexPostRequestBody { - return new Dec2HexPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php deleted file mode 100644 index 39ec0a2c370..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dec2Hex'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dec2Hex - * @param Dec2HexPostRequestBody $body The request body - * @param Dec2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Dec2HexPostRequestBody $body, ?Dec2HexRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dec2Hex - * @param Dec2HexPostRequestBody $body The request body - * @param Dec2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Dec2HexPostRequestBody $body, ?Dec2HexRequestBuilderPostRequestConfiguration $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 Dec2HexRequestBuilder - */ - public function withUrl(string $rawUrl): Dec2HexRequestBuilder { - return new Dec2HexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3d0077ed8b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php deleted file mode 100644 index 8d16cd79b5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Dec2OctPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Dec2OctPostRequestBody { - return new Dec2OctPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php deleted file mode 100644 index 100770acf47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dec2Oct'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dec2Oct - * @param Dec2OctPostRequestBody $body The request body - * @param Dec2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Dec2OctPostRequestBody $body, ?Dec2OctRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dec2Oct - * @param Dec2OctPostRequestBody $body The request body - * @param Dec2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Dec2OctPostRequestBody $body, ?Dec2OctRequestBuilderPostRequestConfiguration $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 Dec2OctRequestBuilder - */ - public function withUrl(string $rawUrl): Dec2OctRequestBuilder { - return new Dec2OctRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b4f325452c7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php deleted file mode 100644 index d276018b74b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DecimalPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DecimalPostRequestBody { - return new DecimalPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php deleted file mode 100644 index 4888e41bcdd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/decimal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action decimal - * @param DecimalPostRequestBody $body The request body - * @param DecimalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DecimalPostRequestBody $body, ?DecimalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action decimal - * @param DecimalPostRequestBody $body The request body - * @param DecimalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DecimalPostRequestBody $body, ?DecimalRequestBuilderPostRequestConfiguration $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 DecimalRequestBuilder - */ - public function withUrl(string $rawUrl): DecimalRequestBuilder { - return new DecimalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f01060a504c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php deleted file mode 100644 index 94b3773fdfe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DegreesPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DegreesPostRequestBody { - return new DegreesPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php deleted file mode 100644 index 878f358c267..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/degrees'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action degrees - * @param DegreesPostRequestBody $body The request body - * @param DegreesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DegreesPostRequestBody $body, ?DegreesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action degrees - * @param DegreesPostRequestBody $body The request body - * @param DegreesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DegreesPostRequestBody $body, ?DegreesRequestBuilderPostRequestConfiguration $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 DegreesRequestBuilder - */ - public function withUrl(string $rawUrl): DegreesRequestBuilder { - return new DegreesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f939e75eb4c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php deleted file mode 100644 index 1696e57515b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DeltaPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DeltaPostRequestBody { - return new DeltaPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php deleted file mode 100644 index e3f2f7cf13c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/delta'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action delta - * @param DeltaPostRequestBody $body The request body - * @param DeltaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DeltaPostRequestBody $body, ?DeltaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action delta - * @param DeltaPostRequestBody $body The request body - * @param DeltaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DeltaPostRequestBody $body, ?DeltaRequestBuilderPostRequestConfiguration $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 DeltaRequestBuilder - */ - public function withUrl(string $rawUrl): DeltaRequestBuilder { - return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cd1753d4528..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php deleted file mode 100644 index caa2eb4bb15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DevSqPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DevSqPostRequestBody { - return new DevSqPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php deleted file mode 100644 index a3e1ad066b7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/devSq'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action devSq - * @param DevSqPostRequestBody $body The request body - * @param DevSqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DevSqPostRequestBody $body, ?DevSqRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action devSq - * @param DevSqPostRequestBody $body The request body - * @param DevSqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DevSqPostRequestBody $body, ?DevSqRequestBuilderPostRequestConfiguration $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 DevSqRequestBuilder - */ - public function withUrl(string $rawUrl): DevSqRequestBuilder { - return new DevSqRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5f93ac76339..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php deleted file mode 100644 index d3c16707efe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DgetPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DgetPostRequestBody { - return new DgetPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php deleted file mode 100644 index d1a109eeacd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dget'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dget - * @param DgetPostRequestBody $body The request body - * @param DgetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DgetPostRequestBody $body, ?DgetRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dget - * @param DgetPostRequestBody $body The request body - * @param DgetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DgetPostRequestBody $body, ?DgetRequestBuilderPostRequestConfiguration $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 DgetRequestBuilder - */ - public function withUrl(string $rawUrl): DgetRequestBuilder { - return new DgetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 779d21f58cd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php deleted file mode 100644 index efe32df1e1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DiscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DiscPostRequestBody { - return new DiscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php deleted file mode 100644 index 234d6e4b788..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/disc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action disc - * @param DiscPostRequestBody $body The request body - * @param DiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DiscPostRequestBody $body, ?DiscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action disc - * @param DiscPostRequestBody $body The request body - * @param DiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DiscPostRequestBody $body, ?DiscRequestBuilderPostRequestConfiguration $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 DiscRequestBuilder - */ - public function withUrl(string $rawUrl): DiscRequestBuilder { - return new DiscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ed0a1d3bf2e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php deleted file mode 100644 index e6d69aa2bf5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DmaxPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DmaxPostRequestBody { - return new DmaxPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php deleted file mode 100644 index 551f15dfb5a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dmax'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dmax - * @param DmaxPostRequestBody $body The request body - * @param DmaxRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DmaxPostRequestBody $body, ?DmaxRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dmax - * @param DmaxPostRequestBody $body The request body - * @param DmaxRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DmaxPostRequestBody $body, ?DmaxRequestBuilderPostRequestConfiguration $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 DmaxRequestBuilder - */ - public function withUrl(string $rawUrl): DmaxRequestBuilder { - return new DmaxRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bf4793bd15c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php deleted file mode 100644 index af5957a96ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DminPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DminPostRequestBody { - return new DminPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php deleted file mode 100644 index d0b95876923..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dmin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dmin - * @param DminPostRequestBody $body The request body - * @param DminRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DminPostRequestBody $body, ?DminRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dmin - * @param DminPostRequestBody $body The request body - * @param DminRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DminPostRequestBody $body, ?DminRequestBuilderPostRequestConfiguration $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 DminRequestBuilder - */ - public function withUrl(string $rawUrl): DminRequestBuilder { - return new DminRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 77a5131b439..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php deleted file mode 100644 index 3f00b8a9c0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DollarPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DollarPostRequestBody { - return new DollarPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php deleted file mode 100644 index 1e8229e9c25..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dollar'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dollar - * @param DollarPostRequestBody $body The request body - * @param DollarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DollarPostRequestBody $body, ?DollarRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dollar - * @param DollarPostRequestBody $body The request body - * @param DollarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DollarPostRequestBody $body, ?DollarRequestBuilderPostRequestConfiguration $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 DollarRequestBuilder - */ - public function withUrl(string $rawUrl): DollarRequestBuilder { - return new DollarRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 65b0656bf87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php deleted file mode 100644 index d63ffe55c03..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DollarDePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DollarDePostRequestBody { - return new DollarDePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php deleted file mode 100644 index bb56282bb6a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dollarDe'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dollarDe - * @param DollarDePostRequestBody $body The request body - * @param DollarDeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DollarDePostRequestBody $body, ?DollarDeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dollarDe - * @param DollarDePostRequestBody $body The request body - * @param DollarDeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DollarDePostRequestBody $body, ?DollarDeRequestBuilderPostRequestConfiguration $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 DollarDeRequestBuilder - */ - public function withUrl(string $rawUrl): DollarDeRequestBuilder { - return new DollarDeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b7aa6ce8f2c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php deleted file mode 100644 index 14e6316a5b1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DollarFrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DollarFrPostRequestBody { - return new DollarFrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php deleted file mode 100644 index 52d6b0600b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dollarFr'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dollarFr - * @param DollarFrPostRequestBody $body The request body - * @param DollarFrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DollarFrPostRequestBody $body, ?DollarFrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dollarFr - * @param DollarFrPostRequestBody $body The request body - * @param DollarFrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DollarFrPostRequestBody $body, ?DollarFrRequestBuilderPostRequestConfiguration $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 DollarFrRequestBuilder - */ - public function withUrl(string $rawUrl): DollarFrRequestBuilder { - return new DollarFrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 014f75dd852..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php deleted file mode 100644 index 39f2457604f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DproductPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DproductPostRequestBody { - return new DproductPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php deleted file mode 100644 index 0b3b8dfff80..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dproduct'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dproduct - * @param DproductPostRequestBody $body The request body - * @param DproductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DproductPostRequestBody $body, ?DproductRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dproduct - * @param DproductPostRequestBody $body The request body - * @param DproductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DproductPostRequestBody $body, ?DproductRequestBuilderPostRequestConfiguration $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 DproductRequestBuilder - */ - public function withUrl(string $rawUrl): DproductRequestBuilder { - return new DproductRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c6a64946bd0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php deleted file mode 100644 index 770973f7069..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DstDevPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DstDevPostRequestBody { - return new DstDevPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php deleted file mode 100644 index ba5e2031bba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dstDev'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dstDev - * @param DstDevPostRequestBody $body The request body - * @param DstDevRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DstDevPostRequestBody $body, ?DstDevRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dstDev - * @param DstDevPostRequestBody $body The request body - * @param DstDevRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DstDevPostRequestBody $body, ?DstDevRequestBuilderPostRequestConfiguration $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 DstDevRequestBuilder - */ - public function withUrl(string $rawUrl): DstDevRequestBuilder { - return new DstDevRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5839a5f34b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php deleted file mode 100644 index 28ff695f91d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DstDevPPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DstDevPPostRequestBody { - return new DstDevPPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php deleted file mode 100644 index 9d6d2300a04..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dstDevP'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dstDevP - * @param DstDevPPostRequestBody $body The request body - * @param DstDevPRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DstDevPPostRequestBody $body, ?DstDevPRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dstDevP - * @param DstDevPPostRequestBody $body The request body - * @param DstDevPRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DstDevPPostRequestBody $body, ?DstDevPRequestBuilderPostRequestConfiguration $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 DstDevPRequestBuilder - */ - public function withUrl(string $rawUrl): DstDevPRequestBuilder { - return new DstDevPRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 92afb55d3e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php deleted file mode 100644 index 8db8d7b9109..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DsumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DsumPostRequestBody { - return new DsumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php deleted file mode 100644 index 705cba7ec29..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dsum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dsum - * @param DsumPostRequestBody $body The request body - * @param DsumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DsumPostRequestBody $body, ?DsumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dsum - * @param DsumPostRequestBody $body The request body - * @param DsumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DsumPostRequestBody $body, ?DsumRequestBuilderPostRequestConfiguration $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 DsumRequestBuilder - */ - public function withUrl(string $rawUrl): DsumRequestBuilder { - return new DsumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b34cd365be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php deleted file mode 100644 index 24feefba847..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DurationPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DurationPostRequestBody { - return new DurationPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php deleted file mode 100644 index d2c38e83fa1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/duration'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action duration - * @param DurationPostRequestBody $body The request body - * @param DurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DurationPostRequestBody $body, ?DurationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action duration - * @param DurationPostRequestBody $body The request body - * @param DurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DurationPostRequestBody $body, ?DurationRequestBuilderPostRequestConfiguration $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 DurationRequestBuilder - */ - public function withUrl(string $rawUrl): DurationRequestBuilder { - return new DurationRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 477791053f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php deleted file mode 100644 index 98eff83d052..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DvarPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DvarPostRequestBody { - return new DvarPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php deleted file mode 100644 index cc681674d4c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dvar'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dvar - * @param DvarPostRequestBody $body The request body - * @param DvarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DvarPostRequestBody $body, ?DvarRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dvar - * @param DvarPostRequestBody $body The request body - * @param DvarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DvarPostRequestBody $body, ?DvarRequestBuilderPostRequestConfiguration $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 DvarRequestBuilder - */ - public function withUrl(string $rawUrl): DvarRequestBuilder { - return new DvarRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e859bb1b0df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php deleted file mode 100644 index c818e8f7a95..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return DvarPPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DvarPPostRequestBody { - return new DvarPPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php deleted file mode 100644 index 975724dfaf8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/dvarP'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action dvarP - * @param DvarPPostRequestBody $body The request body - * @param DvarPRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DvarPPostRequestBody $body, ?DvarPRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action dvarP - * @param DvarPPostRequestBody $body The request body - * @param DvarPRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DvarPPostRequestBody $body, ?DvarPRequestBuilderPostRequestConfiguration $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 DvarPRequestBuilder - */ - public function withUrl(string $rawUrl): DvarPRequestBuilder { - return new DvarPRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0dae8d1fc45..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php deleted file mode 100644 index 653e0f072da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Ecma_CeilingPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Ecma_CeilingPostRequestBody { - return new Ecma_CeilingPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php deleted file mode 100644 index 16417e7b7ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ecma_Ceiling'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ecma_Ceiling - * @param Ecma_CeilingPostRequestBody $body The request body - * @param Ecma_CeilingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Ecma_CeilingPostRequestBody $body, ?Ecma_CeilingRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ecma_Ceiling - * @param Ecma_CeilingPostRequestBody $body The request body - * @param Ecma_CeilingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Ecma_CeilingPostRequestBody $body, ?Ecma_CeilingRequestBuilderPostRequestConfiguration $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 Ecma_CeilingRequestBuilder - */ - public function withUrl(string $rawUrl): Ecma_CeilingRequestBuilder { - return new Ecma_CeilingRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fb02847fa1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php deleted file mode 100644 index f7c5e8707fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return EdatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): EdatePostRequestBody { - return new EdatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php deleted file mode 100644 index e9edefe8199..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/edate'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action edate - * @param EdatePostRequestBody $body The request body - * @param EdateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EdatePostRequestBody $body, ?EdateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action edate - * @param EdatePostRequestBody $body The request body - * @param EdateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EdatePostRequestBody $body, ?EdateRequestBuilderPostRequestConfiguration $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 EdateRequestBuilder - */ - public function withUrl(string $rawUrl): EdateRequestBuilder { - return new EdateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b6adc9b51a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php deleted file mode 100644 index f7479ae5715..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return EffectPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): EffectPostRequestBody { - return new EffectPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php deleted file mode 100644 index 849d7079712..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/effect'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action effect - * @param EffectPostRequestBody $body The request body - * @param EffectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EffectPostRequestBody $body, ?EffectRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action effect - * @param EffectPostRequestBody $body The request body - * @param EffectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EffectPostRequestBody $body, ?EffectRequestBuilderPostRequestConfiguration $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 EffectRequestBuilder - */ - public function withUrl(string $rawUrl): EffectRequestBuilder { - return new EffectRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 933926a3d4f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php deleted file mode 100644 index 71c866ee274..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return EoMonthPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): EoMonthPostRequestBody { - return new EoMonthPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php deleted file mode 100644 index 3299194c2cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/eoMonth'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action eoMonth - * @param EoMonthPostRequestBody $body The request body - * @param EoMonthRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EoMonthPostRequestBody $body, ?EoMonthRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action eoMonth - * @param EoMonthPostRequestBody $body The request body - * @param EoMonthRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EoMonthPostRequestBody $body, ?EoMonthRequestBuilderPostRequestConfiguration $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 EoMonthRequestBuilder - */ - public function withUrl(string $rawUrl): EoMonthRequestBuilder { - return new EoMonthRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a7332c71f87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php deleted file mode 100644 index 8db89e076cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ErfPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ErfPostRequestBody { - return new ErfPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php deleted file mode 100644 index b722de45f09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/erf'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action erf - * @param ErfPostRequestBody $body The request body - * @param ErfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ErfPostRequestBody $body, ?ErfRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action erf - * @param ErfPostRequestBody $body The request body - * @param ErfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ErfPostRequestBody $body, ?ErfRequestBuilderPostRequestConfiguration $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 ErfRequestBuilder - */ - public function withUrl(string $rawUrl): ErfRequestBuilder { - return new ErfRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e733df501d5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php deleted file mode 100644 index 75276e28ea8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ErfCPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ErfCPostRequestBody { - return new ErfCPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php deleted file mode 100644 index 32b38d031ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/erfC'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action erfC - * @param ErfCPostRequestBody $body The request body - * @param ErfCRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ErfCPostRequestBody $body, ?ErfCRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action erfC - * @param ErfCPostRequestBody $body The request body - * @param ErfCRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ErfCPostRequestBody $body, ?ErfCRequestBuilderPostRequestConfiguration $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 ErfCRequestBuilder - */ - public function withUrl(string $rawUrl): ErfCRequestBuilder { - return new ErfCRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 04a6f012886..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php deleted file mode 100644 index 389af5a2cb5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ErfC_PrecisePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ErfC_PrecisePostRequestBody { - return new ErfC_PrecisePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php deleted file mode 100644 index aef66972576..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/erfC_Precise'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action erfC_Precise - * @param ErfC_PrecisePostRequestBody $body The request body - * @param ErfC_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ErfC_PrecisePostRequestBody $body, ?ErfC_PreciseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action erfC_Precise - * @param ErfC_PrecisePostRequestBody $body The request body - * @param ErfC_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ErfC_PrecisePostRequestBody $body, ?ErfC_PreciseRequestBuilderPostRequestConfiguration $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 ErfC_PreciseRequestBuilder - */ - public function withUrl(string $rawUrl): ErfC_PreciseRequestBuilder { - return new ErfC_PreciseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1a3b1fc5eca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php deleted file mode 100644 index cedc86af7c5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Erf_PrecisePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Erf_PrecisePostRequestBody { - return new Erf_PrecisePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php deleted file mode 100644 index 5de4f0096b3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/erf_Precise'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action erf_Precise - * @param Erf_PrecisePostRequestBody $body The request body - * @param Erf_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Erf_PrecisePostRequestBody $body, ?Erf_PreciseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action erf_Precise - * @param Erf_PrecisePostRequestBody $body The request body - * @param Erf_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Erf_PrecisePostRequestBody $body, ?Erf_PreciseRequestBuilderPostRequestConfiguration $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 Erf_PreciseRequestBuilder - */ - public function withUrl(string $rawUrl): Erf_PreciseRequestBuilder { - return new Erf_PreciseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3e6ed774293..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php deleted file mode 100644 index 0461d8ce0c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Error_TypePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Error_TypePostRequestBody { - return new Error_TypePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php deleted file mode 100644 index 233b0f48a47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/error_Type'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action error_Type - * @param Error_TypePostRequestBody $body The request body - * @param Error_TypeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Error_TypePostRequestBody $body, ?Error_TypeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action error_Type - * @param Error_TypePostRequestBody $body The request body - * @param Error_TypeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Error_TypePostRequestBody $body, ?Error_TypeRequestBuilderPostRequestConfiguration $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 Error_TypeRequestBuilder - */ - public function withUrl(string $rawUrl): Error_TypeRequestBuilder { - return new Error_TypeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index df5ba156919..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php deleted file mode 100644 index c555ed70baf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AndPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AndPostRequestBody { - return new AndPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php deleted file mode 100644 index 4fab10270c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/and'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action and - * @param AndPostRequestBody $body The request body - * @param AndRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(AndPostRequestBody $body, ?AndRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action and - * @param AndPostRequestBody $body The request body - * @param AndRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AndPostRequestBody $body, ?AndRequestBuilderPostRequestConfiguration $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 AndRequestBuilder - */ - public function withUrl(string $rawUrl): AndRequestBuilder { - return new AndRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5e5fd1dd50d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php deleted file mode 100644 index 03aac79e09f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IfPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IfPostRequestBody { - return new IfPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php deleted file mode 100644 index eaaf0bfcda2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/if'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action if - * @param IfPostRequestBody $body The request body - * @param IfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IfPostRequestBody $body, ?IfRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action if - * @param IfPostRequestBody $body The request body - * @param IfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IfPostRequestBody $body, ?IfRequestBuilderPostRequestConfiguration $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 IfRequestBuilder - */ - public function withUrl(string $rawUrl): IfRequestBuilder { - return new IfRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5d520e2b698..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php deleted file mode 100644 index 278950a5653..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OrPostRequestBody { - return new OrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php deleted file mode 100644 index 21d2e72125e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/or'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action or - * @param OrPostRequestBody $body The request body - * @param OrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OrPostRequestBody $body, ?OrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action or - * @param OrPostRequestBody $body The request body - * @param OrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OrPostRequestBody $body, ?OrRequestBuilderPostRequestConfiguration $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 OrRequestBuilder - */ - public function withUrl(string $rawUrl): OrRequestBuilder { - return new OrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 348c52d04be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php deleted file mode 100644 index 22818d0e847..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return XorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): XorPostRequestBody { - return new XorPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php deleted file mode 100644 index a086c9f2ead..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/xor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action xor - * @param XorPostRequestBody $body The request body - * @param XorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(XorPostRequestBody $body, ?XorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action xor - * @param XorPostRequestBody $body The request body - * @param XorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(XorPostRequestBody $body, ?XorRequestBuilderPostRequestConfiguration $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 XorRequestBuilder - */ - public function withUrl(string $rawUrl): XorRequestBuilder { - return new XorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b394a31ea00..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php deleted file mode 100644 index 5296972cffc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return YieldPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): YieldPostRequestBody { - return new YieldPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php deleted file mode 100644 index 79faa8284b0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/yield'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action yield - * @param YieldPostRequestBody $body The request body - * @param YieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(YieldPostRequestBody $body, ?YieldRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action yield - * @param YieldPostRequestBody $body The request body - * @param YieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(YieldPostRequestBody $body, ?YieldRequestBuilderPostRequestConfiguration $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 YieldRequestBuilder - */ - public function withUrl(string $rawUrl): YieldRequestBuilder { - return new YieldRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1ed90433e65..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php deleted file mode 100644 index 3633b3b9ef8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return EvenPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): EvenPostRequestBody { - return new EvenPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php deleted file mode 100644 index 76b79013e6d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/even'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action even - * @param EvenPostRequestBody $body The request body - * @param EvenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(EvenPostRequestBody $body, ?EvenRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action even - * @param EvenPostRequestBody $body The request body - * @param EvenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(EvenPostRequestBody $body, ?EvenRequestBuilderPostRequestConfiguration $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 EvenRequestBuilder - */ - public function withUrl(string $rawUrl): EvenRequestBuilder { - return new EvenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 73cbf167c9b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php deleted file mode 100644 index bb5be6fe415..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ExactPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ExactPostRequestBody { - return new ExactPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php deleted file mode 100644 index 44b1d61a23f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/exact'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action exact - * @param ExactPostRequestBody $body The request body - * @param ExactRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ExactPostRequestBody $body, ?ExactRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action exact - * @param ExactPostRequestBody $body The request body - * @param ExactRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ExactPostRequestBody $body, ?ExactRequestBuilderPostRequestConfiguration $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 ExactRequestBuilder - */ - public function withUrl(string $rawUrl): ExactRequestBuilder { - return new ExactRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 16575f37b75..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php deleted file mode 100644 index 83ed6d7dc14..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ExpPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ExpPostRequestBody { - return new ExpPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php deleted file mode 100644 index 22d0d72d285..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/exp'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action exp - * @param ExpPostRequestBody $body The request body - * @param ExpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ExpPostRequestBody $body, ?ExpRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action exp - * @param ExpPostRequestBody $body The request body - * @param ExpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ExpPostRequestBody $body, ?ExpRequestBuilderPostRequestConfiguration $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 ExpRequestBuilder - */ - public function withUrl(string $rawUrl): ExpRequestBuilder { - return new ExpRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b81ef82f72d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php deleted file mode 100644 index 51bf3c1d46d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Expon_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Expon_DistPostRequestBody { - return new Expon_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php deleted file mode 100644 index 299949278a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/expon_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action expon_Dist - * @param Expon_DistPostRequestBody $body The request body - * @param Expon_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Expon_DistPostRequestBody $body, ?Expon_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action expon_Dist - * @param Expon_DistPostRequestBody $body The request body - * @param Expon_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Expon_DistPostRequestBody $body, ?Expon_DistRequestBuilderPostRequestConfiguration $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 Expon_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Expon_DistRequestBuilder { - return new Expon_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0bd4abb07d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php deleted file mode 100644 index 96d2e9f4adf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return F_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): F_DistPostRequestBody { - return new F_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php deleted file mode 100644 index b2b995bab3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/f_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action f_Dist - * @param F_DistPostRequestBody $body The request body - * @param F_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(F_DistPostRequestBody $body, ?F_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action f_Dist - * @param F_DistPostRequestBody $body The request body - * @param F_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(F_DistPostRequestBody $body, ?F_DistRequestBuilderPostRequestConfiguration $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 F_DistRequestBuilder - */ - public function withUrl(string $rawUrl): F_DistRequestBuilder { - return new F_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 79407a367bd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php deleted file mode 100644 index b3ac04b4301..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return F_Dist_RTPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): F_Dist_RTPostRequestBody { - return new F_Dist_RTPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php deleted file mode 100644 index 2ee85343c3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/f_Dist_RT'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action f_Dist_RT - * @param F_Dist_RTPostRequestBody $body The request body - * @param F_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(F_Dist_RTPostRequestBody $body, ?F_Dist_RTRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action f_Dist_RT - * @param F_Dist_RTPostRequestBody $body The request body - * @param F_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(F_Dist_RTPostRequestBody $body, ?F_Dist_RTRequestBuilderPostRequestConfiguration $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 F_Dist_RTRequestBuilder - */ - public function withUrl(string $rawUrl): F_Dist_RTRequestBuilder { - return new F_Dist_RTRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ead1118b4d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php deleted file mode 100644 index 8852c149007..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return F_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): F_InvPostRequestBody { - return new F_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php deleted file mode 100644 index b062ba239c7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/f_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action f_Inv - * @param F_InvPostRequestBody $body The request body - * @param F_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(F_InvPostRequestBody $body, ?F_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action f_Inv - * @param F_InvPostRequestBody $body The request body - * @param F_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(F_InvPostRequestBody $body, ?F_InvRequestBuilderPostRequestConfiguration $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 F_InvRequestBuilder - */ - public function withUrl(string $rawUrl): F_InvRequestBuilder { - return new F_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 961e88aef06..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php deleted file mode 100644 index b5c57ebaefe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return F_Inv_RTPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): F_Inv_RTPostRequestBody { - return new F_Inv_RTPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php deleted file mode 100644 index f67de3e759e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/f_Inv_RT'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action f_Inv_RT - * @param F_Inv_RTPostRequestBody $body The request body - * @param F_Inv_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(F_Inv_RTPostRequestBody $body, ?F_Inv_RTRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action f_Inv_RT - * @param F_Inv_RTPostRequestBody $body The request body - * @param F_Inv_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(F_Inv_RTPostRequestBody $body, ?F_Inv_RTRequestBuilderPostRequestConfiguration $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 F_Inv_RTRequestBuilder - */ - public function withUrl(string $rawUrl): F_Inv_RTRequestBuilder { - return new F_Inv_RTRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a9d61038eb9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php deleted file mode 100644 index 14d0576cce7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FactPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FactPostRequestBody { - return new FactPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php deleted file mode 100644 index 20561e222d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fact'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fact - * @param FactPostRequestBody $body The request body - * @param FactRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FactPostRequestBody $body, ?FactRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fact - * @param FactPostRequestBody $body The request body - * @param FactRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FactPostRequestBody $body, ?FactRequestBuilderPostRequestConfiguration $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 FactRequestBuilder - */ - public function withUrl(string $rawUrl): FactRequestBuilder { - return new FactRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bdf1b43e927..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php deleted file mode 100644 index 1c4b8eb9d36..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FactDoublePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FactDoublePostRequestBody { - return new FactDoublePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php deleted file mode 100644 index 612f1f155cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/factDouble'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action factDouble - * @param FactDoublePostRequestBody $body The request body - * @param FactDoubleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FactDoublePostRequestBody $body, ?FactDoubleRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action factDouble - * @param FactDoublePostRequestBody $body The request body - * @param FactDoubleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FactDoublePostRequestBody $body, ?FactDoubleRequestBuilderPostRequestConfiguration $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 FactDoubleRequestBuilder - */ - public function withUrl(string $rawUrl): FactDoubleRequestBuilder { - return new FactDoubleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 334e703de2a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php deleted file mode 100644 index 768a65a08a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/false'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action false - * @param FalseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?FalseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action false - * @param FalseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?FalseRequestBuilderPostRequestConfiguration $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"); - 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 FalseRequestBuilder - */ - public function withUrl(string $rawUrl): FalseRequestBuilder { - return new FalseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 34cbe3b52d6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/False/FalseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php deleted file mode 100644 index 2616087f107..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FindPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FindPostRequestBody { - return new FindPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php deleted file mode 100644 index 0df045a4880..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/find'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action find - * @param FindPostRequestBody $body The request body - * @param FindRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FindPostRequestBody $body, ?FindRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action find - * @param FindPostRequestBody $body The request body - * @param FindRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FindPostRequestBody $body, ?FindRequestBuilderPostRequestConfiguration $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 FindRequestBuilder - */ - public function withUrl(string $rawUrl): FindRequestBuilder { - return new FindRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e1245237641..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php deleted file mode 100644 index 42110d61c52..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FindBPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FindBPostRequestBody { - return new FindBPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php deleted file mode 100644 index 7ae6bd236e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/findB'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action findB - * @param FindBPostRequestBody $body The request body - * @param FindBRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FindBPostRequestBody $body, ?FindBRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action findB - * @param FindBPostRequestBody $body The request body - * @param FindBRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FindBPostRequestBody $body, ?FindBRequestBuilderPostRequestConfiguration $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 FindBRequestBuilder - */ - public function withUrl(string $rawUrl): FindBRequestBuilder { - return new FindBRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 938ca2301fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php deleted file mode 100644 index fa764b4856a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FisherPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FisherPostRequestBody { - return new FisherPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php deleted file mode 100644 index 5cf3b1fea8c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fisher'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fisher - * @param FisherPostRequestBody $body The request body - * @param FisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FisherPostRequestBody $body, ?FisherRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fisher - * @param FisherPostRequestBody $body The request body - * @param FisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FisherPostRequestBody $body, ?FisherRequestBuilderPostRequestConfiguration $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 FisherRequestBuilder - */ - public function withUrl(string $rawUrl): FisherRequestBuilder { - return new FisherRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 603d17f2ccc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php deleted file mode 100644 index f262b3cc465..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FisherInvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FisherInvPostRequestBody { - return new FisherInvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php deleted file mode 100644 index 81d310dea35..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fisherInv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fisherInv - * @param FisherInvPostRequestBody $body The request body - * @param FisherInvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FisherInvPostRequestBody $body, ?FisherInvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fisherInv - * @param FisherInvPostRequestBody $body The request body - * @param FisherInvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FisherInvPostRequestBody $body, ?FisherInvRequestBuilderPostRequestConfiguration $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 FisherInvRequestBuilder - */ - public function withUrl(string $rawUrl): FisherInvRequestBuilder { - return new FisherInvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9a02d35e7cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php deleted file mode 100644 index 28bfb4368a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FixedPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FixedPostRequestBody { - return new FixedPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php deleted file mode 100644 index 210fb1c3ab8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fixed'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fixed - * @param FixedPostRequestBody $body The request body - * @param FixedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FixedPostRequestBody $body, ?FixedRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fixed - * @param FixedPostRequestBody $body The request body - * @param FixedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FixedPostRequestBody $body, ?FixedRequestBuilderPostRequestConfiguration $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 FixedRequestBuilder - */ - public function withUrl(string $rawUrl): FixedRequestBuilder { - return new FixedRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f507d3f3bb1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php deleted file mode 100644 index 996eec0c646..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Floor_MathPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Floor_MathPostRequestBody { - return new Floor_MathPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php deleted file mode 100644 index 44af13262d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/floor_Math'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action floor_Math - * @param Floor_MathPostRequestBody $body The request body - * @param Floor_MathRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Floor_MathPostRequestBody $body, ?Floor_MathRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action floor_Math - * @param Floor_MathPostRequestBody $body The request body - * @param Floor_MathRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Floor_MathPostRequestBody $body, ?Floor_MathRequestBuilderPostRequestConfiguration $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 Floor_MathRequestBuilder - */ - public function withUrl(string $rawUrl): Floor_MathRequestBuilder { - return new Floor_MathRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fe29aaef27f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php deleted file mode 100644 index 7d6de0b7ed9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Floor_PrecisePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Floor_PrecisePostRequestBody { - return new Floor_PrecisePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php deleted file mode 100644 index 296104c9459..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/floor_Precise'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action floor_Precise - * @param Floor_PrecisePostRequestBody $body The request body - * @param Floor_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Floor_PrecisePostRequestBody $body, ?Floor_PreciseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action floor_Precise - * @param Floor_PrecisePostRequestBody $body The request body - * @param Floor_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Floor_PrecisePostRequestBody $body, ?Floor_PreciseRequestBuilderPostRequestConfiguration $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 Floor_PreciseRequestBuilder - */ - public function withUrl(string $rawUrl): Floor_PreciseRequestBuilder { - return new Floor_PreciseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2df7ce5daac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php deleted file mode 100644 index 28ca7a2d6bb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php +++ /dev/null @@ -1,3072 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the accrInt method. - */ - public function accrInt(): AccrIntRequestBuilder { - return new AccrIntRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the accrIntM method. - */ - public function accrIntM(): AccrIntMRequestBuilder { - return new AccrIntMRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the acos method. - */ - public function acos(): AcosRequestBuilder { - return new AcosRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the acosh method. - */ - public function acosh(): AcoshRequestBuilder { - return new AcoshRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the acot method. - */ - public function acot(): AcotRequestBuilder { - return new AcotRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the acoth method. - */ - public function acoth(): AcothRequestBuilder { - return new AcothRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the amorDegrc method. - */ - public function amorDegrc(): AmorDegrcRequestBuilder { - return new AmorDegrcRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the amorLinc method. - */ - public function amorLinc(): AmorLincRequestBuilder { - return new AmorLincRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the arabic method. - */ - public function arabic(): ArabicRequestBuilder { - return new ArabicRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the areas method. - */ - public function areas(): AreasRequestBuilder { - return new AreasRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the asc method. - */ - public function asc(): AscRequestBuilder { - return new AscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the asin method. - */ - public function asin(): AsinRequestBuilder { - return new AsinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the asinh method. - */ - public function asinh(): AsinhRequestBuilder { - return new AsinhRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the atan method. - */ - public function atan(): AtanRequestBuilder { - return new AtanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the atan2 method. - */ - public function atan2(): Atan2RequestBuilder { - return new Atan2RequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the atanh method. - */ - public function atanh(): AtanhRequestBuilder { - return new AtanhRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the aveDev method. - */ - public function aveDev(): AveDevRequestBuilder { - return new AveDevRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the average method. - */ - public function average(): AverageRequestBuilder { - return new AverageRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the averageA method. - */ - public function averageA(): AverageARequestBuilder { - return new AverageARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the averageIf method. - */ - public function averageIf(): AverageIfRequestBuilder { - return new AverageIfRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the averageIfs method. - */ - public function averageIfs(): AverageIfsRequestBuilder { - return new AverageIfsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bahtText method. - */ - public function bahtText(): BahtTextRequestBuilder { - return new BahtTextRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the base method. - */ - public function base(): EscapedBaseRequestBuilder { - return new EscapedBaseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the besselI method. - */ - public function besselI(): BesselIRequestBuilder { - return new BesselIRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the besselJ method. - */ - public function besselJ(): BesselJRequestBuilder { - return new BesselJRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the besselK method. - */ - public function besselK(): BesselKRequestBuilder { - return new BesselKRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the besselY method. - */ - public function besselY(): BesselYRequestBuilder { - return new BesselYRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the beta_Dist method. - */ - public function beta_Dist(): Beta_DistRequestBuilder { - return new Beta_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the beta_Inv method. - */ - public function beta_Inv(): Beta_InvRequestBuilder { - return new Beta_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bin2Dec method. - */ - public function bin2Dec(): Bin2DecRequestBuilder { - return new Bin2DecRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bin2Hex method. - */ - public function bin2Hex(): Bin2HexRequestBuilder { - return new Bin2HexRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bin2Oct method. - */ - public function bin2Oct(): Bin2OctRequestBuilder { - return new Bin2OctRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the binom_Dist method. - */ - public function binom_Dist(): Binom_DistRequestBuilder { - return new Binom_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the binom_Dist_Range method. - */ - public function binom_Dist_Range(): Binom_Dist_RangeRequestBuilder { - return new Binom_Dist_RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the binom_Inv method. - */ - public function binom_Inv(): Binom_InvRequestBuilder { - return new Binom_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bitand method. - */ - public function bitand(): BitandRequestBuilder { - return new BitandRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bitlshift method. - */ - public function bitlshift(): BitlshiftRequestBuilder { - return new BitlshiftRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bitor method. - */ - public function bitor(): BitorRequestBuilder { - return new BitorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bitrshift method. - */ - public function bitrshift(): BitrshiftRequestBuilder { - return new BitrshiftRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the bitxor method. - */ - public function bitxor(): BitxorRequestBuilder { - return new BitxorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ceiling_Math method. - */ - public function ceiling_Math(): Ceiling_MathRequestBuilder { - return new Ceiling_MathRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ceiling_Precise method. - */ - public function ceiling_Precise(): Ceiling_PreciseRequestBuilder { - return new Ceiling_PreciseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the char method. - */ - public function char(): CharRequestBuilder { - return new CharRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the chiSq_Dist method. - */ - public function chiSq_Dist(): ChiSq_DistRequestBuilder { - return new ChiSq_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the chiSq_Dist_RT method. - */ - public function chiSq_Dist_RT(): ChiSq_Dist_RTRequestBuilder { - return new ChiSq_Dist_RTRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the chiSq_Inv method. - */ - public function chiSq_Inv(): ChiSq_InvRequestBuilder { - return new ChiSq_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the chiSq_Inv_RT method. - */ - public function chiSq_Inv_RT(): ChiSq_Inv_RTRequestBuilder { - return new ChiSq_Inv_RTRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the choose method. - */ - public function choose(): ChooseRequestBuilder { - return new ChooseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the clean method. - */ - public function clean(): CleanRequestBuilder { - return new CleanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the code method. - */ - public function code(): CodeRequestBuilder { - return new CodeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the columns method. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the combin method. - */ - public function combin(): CombinRequestBuilder { - return new CombinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the combina method. - */ - public function combina(): CombinaRequestBuilder { - return new CombinaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the complex method. - */ - public function complex(): ComplexRequestBuilder { - return new ComplexRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the concatenate method. - */ - public function concatenate(): ConcatenateRequestBuilder { - return new ConcatenateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the confidence_Norm method. - */ - public function confidence_Norm(): Confidence_NormRequestBuilder { - return new Confidence_NormRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the confidence_T method. - */ - public function confidence_T(): Confidence_TRequestBuilder { - return new Confidence_TRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the convert method. - */ - public function convert(): ConvertRequestBuilder { - return new ConvertRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cos method. - */ - public function cos(): CosRequestBuilder { - return new CosRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cosh method. - */ - public function cosh(): CoshRequestBuilder { - return new CoshRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cot method. - */ - public function cot(): CotRequestBuilder { - return new CotRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coth method. - */ - public function coth(): CothRequestBuilder { - return new CothRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the countA method. - */ - public function countA(): CountARequestBuilder { - return new CountARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the countBlank method. - */ - public function countBlank(): CountBlankRequestBuilder { - return new CountBlankRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the countIf method. - */ - public function countIf(): CountIfRequestBuilder { - return new CountIfRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the countIfs method. - */ - public function countIfs(): CountIfsRequestBuilder { - return new CountIfsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupDayBs method. - */ - public function coupDayBs(): CoupDayBsRequestBuilder { - return new CoupDayBsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupDays method. - */ - public function coupDays(): CoupDaysRequestBuilder { - return new CoupDaysRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupDaysNc method. - */ - public function coupDaysNc(): CoupDaysNcRequestBuilder { - return new CoupDaysNcRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupNcd method. - */ - public function coupNcd(): CoupNcdRequestBuilder { - return new CoupNcdRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupNum method. - */ - public function coupNum(): CoupNumRequestBuilder { - return new CoupNumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the coupPcd method. - */ - public function coupPcd(): CoupPcdRequestBuilder { - return new CoupPcdRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the csc method. - */ - public function csc(): CscRequestBuilder { - return new CscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the csch method. - */ - public function csch(): CschRequestBuilder { - return new CschRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cumIPmt method. - */ - public function cumIPmt(): CumIPmtRequestBuilder { - return new CumIPmtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cumPrinc method. - */ - public function cumPrinc(): CumPrincRequestBuilder { - return new CumPrincRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the date method. - */ - public function date(): DateRequestBuilder { - return new DateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the datevalue method. - */ - public function datevalue(): DatevalueRequestBuilder { - return new DatevalueRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the daverage method. - */ - public function daverage(): DaverageRequestBuilder { - return new DaverageRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the day method. - */ - public function day(): DayRequestBuilder { - return new DayRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the days method. - */ - public function days(): DaysRequestBuilder { - return new DaysRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the days360 method. - */ - public function days360(): Days360RequestBuilder { - return new Days360RequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the db method. - */ - public function db(): DbRequestBuilder { - return new DbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dbcs method. - */ - public function dbcs(): DbcsRequestBuilder { - return new DbcsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dcount method. - */ - public function dcount(): DcountRequestBuilder { - return new DcountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dcountA method. - */ - public function dcountA(): DcountARequestBuilder { - return new DcountARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ddb method. - */ - public function ddb(): DdbRequestBuilder { - return new DdbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dec2Bin method. - */ - public function dec2Bin(): Dec2BinRequestBuilder { - return new Dec2BinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dec2Hex method. - */ - public function dec2Hex(): Dec2HexRequestBuilder { - return new Dec2HexRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dec2Oct method. - */ - public function dec2Oct(): Dec2OctRequestBuilder { - return new Dec2OctRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the decimal method. - */ - public function decimal(): DecimalRequestBuilder { - return new DecimalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the degrees method. - */ - public function degrees(): DegreesRequestBuilder { - return new DegreesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the delta method. - */ - public function delta(): DeltaRequestBuilder { - return new DeltaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the devSq method. - */ - public function devSq(): DevSqRequestBuilder { - return new DevSqRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dget method. - */ - public function dget(): DgetRequestBuilder { - return new DgetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the disc method. - */ - public function disc(): DiscRequestBuilder { - return new DiscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dmax method. - */ - public function dmax(): DmaxRequestBuilder { - return new DmaxRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dmin method. - */ - public function dmin(): DminRequestBuilder { - return new DminRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dollar method. - */ - public function dollar(): DollarRequestBuilder { - return new DollarRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dollarDe method. - */ - public function dollarDe(): DollarDeRequestBuilder { - return new DollarDeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dollarFr method. - */ - public function dollarFr(): DollarFrRequestBuilder { - return new DollarFrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dproduct method. - */ - public function dproduct(): DproductRequestBuilder { - return new DproductRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dstDev method. - */ - public function dstDev(): DstDevRequestBuilder { - return new DstDevRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dstDevP method. - */ - public function dstDevP(): DstDevPRequestBuilder { - return new DstDevPRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dsum method. - */ - public function dsum(): DsumRequestBuilder { - return new DsumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the duration method. - */ - public function duration(): DurationRequestBuilder { - return new DurationRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dvar method. - */ - public function dvar(): DvarRequestBuilder { - return new DvarRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dvarP method. - */ - public function dvarP(): DvarPRequestBuilder { - return new DvarPRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ecma_Ceiling method. - */ - public function ecma_Ceiling(): Ecma_CeilingRequestBuilder { - return new Ecma_CeilingRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the edate method. - */ - public function edate(): EdateRequestBuilder { - return new EdateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the effect method. - */ - public function effect(): EffectRequestBuilder { - return new EffectRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the eoMonth method. - */ - public function eoMonth(): EoMonthRequestBuilder { - return new EoMonthRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the erf method. - */ - public function erf(): ErfRequestBuilder { - return new ErfRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the erf_Precise method. - */ - public function erf_Precise(): Erf_PreciseRequestBuilder { - return new Erf_PreciseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the erfC method. - */ - public function erfC(): ErfCRequestBuilder { - return new ErfCRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the erfC_Precise method. - */ - public function erfC_Precise(): ErfC_PreciseRequestBuilder { - return new ErfC_PreciseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the error_Type method. - */ - public function error_Type(): Error_TypeRequestBuilder { - return new Error_TypeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the and method. - */ - public function escapedAnd(): AndRequestBuilder { - return new AndRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the if method. - */ - public function escapedIf(): IfRequestBuilder { - return new IfRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the or method. - */ - public function escapedOr(): OrRequestBuilder { - return new OrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the xor method. - */ - public function escapedXor(): XorRequestBuilder { - return new XorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the yield method. - */ - public function escapedYield(): YieldRequestBuilder { - return new YieldRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the even method. - */ - public function even(): EvenRequestBuilder { - return new EvenRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the exact method. - */ - public function exact(): ExactRequestBuilder { - return new ExactRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the exp method. - */ - public function exp(): ExpRequestBuilder { - return new ExpRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the expon_Dist method. - */ - public function expon_Dist(): Expon_DistRequestBuilder { - return new Expon_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the f_Dist method. - */ - public function f_Dist(): F_DistRequestBuilder { - return new F_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the f_Dist_RT method. - */ - public function f_Dist_RT(): F_Dist_RTRequestBuilder { - return new F_Dist_RTRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the f_Inv method. - */ - public function f_Inv(): F_InvRequestBuilder { - return new F_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the f_Inv_RT method. - */ - public function f_Inv_RT(): F_Inv_RTRequestBuilder { - return new F_Inv_RTRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fact method. - */ - public function fact(): FactRequestBuilder { - return new FactRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the factDouble method. - */ - public function factDouble(): FactDoubleRequestBuilder { - return new FactDoubleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the false method. - */ - public function false(): FalseRequestBuilder { - return new FalseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the find method. - */ - public function find(): FindRequestBuilder { - return new FindRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the findB method. - */ - public function findB(): FindBRequestBuilder { - return new FindBRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fisher method. - */ - public function fisher(): FisherRequestBuilder { - return new FisherRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fisherInv method. - */ - public function fisherInv(): FisherInvRequestBuilder { - return new FisherInvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fixed method. - */ - public function fixed(): FixedRequestBuilder { - return new FixedRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the floor_Math method. - */ - public function floor_Math(): Floor_MathRequestBuilder { - return new Floor_MathRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the floor_Precise method. - */ - public function floor_Precise(): Floor_PreciseRequestBuilder { - return new Floor_PreciseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fv method. - */ - public function fv(): FvRequestBuilder { - return new FvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the fvschedule method. - */ - public function fvschedule(): FvscheduleRequestBuilder { - return new FvscheduleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gamma method. - */ - public function gamma(): GammaRequestBuilder { - return new GammaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gamma_Dist method. - */ - public function gamma_Dist(): Gamma_DistRequestBuilder { - return new Gamma_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gamma_Inv method. - */ - public function gamma_Inv(): Gamma_InvRequestBuilder { - return new Gamma_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gammaLn method. - */ - public function gammaLn(): GammaLnRequestBuilder { - return new GammaLnRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gammaLn_Precise method. - */ - public function gammaLn_Precise(): GammaLn_PreciseRequestBuilder { - return new GammaLn_PreciseRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gauss method. - */ - public function gauss(): GaussRequestBuilder { - return new GaussRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the gcd method. - */ - public function gcd(): GcdRequestBuilder { - return new GcdRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the geoMean method. - */ - public function geoMean(): GeoMeanRequestBuilder { - return new GeoMeanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the geStep method. - */ - public function geStep(): GeStepRequestBuilder { - return new GeStepRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the harMean method. - */ - public function harMean(): HarMeanRequestBuilder { - return new HarMeanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hex2Bin method. - */ - public function hex2Bin(): Hex2BinRequestBuilder { - return new Hex2BinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hex2Dec method. - */ - public function hex2Dec(): Hex2DecRequestBuilder { - return new Hex2DecRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hex2Oct method. - */ - public function hex2Oct(): Hex2OctRequestBuilder { - return new Hex2OctRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hlookup method. - */ - public function hlookup(): HlookupRequestBuilder { - return new HlookupRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hour method. - */ - public function hour(): HourRequestBuilder { - return new HourRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hyperlink method. - */ - public function hyperlink(): HyperlinkRequestBuilder { - return new HyperlinkRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the hypGeom_Dist method. - */ - public function hypGeom_Dist(): HypGeom_DistRequestBuilder { - return new HypGeom_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imAbs method. - */ - public function imAbs(): ImAbsRequestBuilder { - return new ImAbsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imaginary method. - */ - public function imaginary(): ImaginaryRequestBuilder { - return new ImaginaryRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imArgument method. - */ - public function imArgument(): ImArgumentRequestBuilder { - return new ImArgumentRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imConjugate method. - */ - public function imConjugate(): ImConjugateRequestBuilder { - return new ImConjugateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imCos method. - */ - public function imCos(): ImCosRequestBuilder { - return new ImCosRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imCosh method. - */ - public function imCosh(): ImCoshRequestBuilder { - return new ImCoshRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imCot method. - */ - public function imCot(): ImCotRequestBuilder { - return new ImCotRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imCsc method. - */ - public function imCsc(): ImCscRequestBuilder { - return new ImCscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imCsch method. - */ - public function imCsch(): ImCschRequestBuilder { - return new ImCschRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imDiv method. - */ - public function imDiv(): ImDivRequestBuilder { - return new ImDivRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imExp method. - */ - public function imExp(): ImExpRequestBuilder { - return new ImExpRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imLn method. - */ - public function imLn(): ImLnRequestBuilder { - return new ImLnRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imLog10 method. - */ - public function imLog10(): ImLog10RequestBuilder { - return new ImLog10RequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imLog2 method. - */ - public function imLog2(): ImLog2RequestBuilder { - return new ImLog2RequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imPower method. - */ - public function imPower(): ImPowerRequestBuilder { - return new ImPowerRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imProduct method. - */ - public function imProduct(): ImProductRequestBuilder { - return new ImProductRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imReal method. - */ - public function imReal(): ImRealRequestBuilder { - return new ImRealRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSec method. - */ - public function imSec(): ImSecRequestBuilder { - return new ImSecRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSech method. - */ - public function imSech(): ImSechRequestBuilder { - return new ImSechRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSin method. - */ - public function imSin(): ImSinRequestBuilder { - return new ImSinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSinh method. - */ - public function imSinh(): ImSinhRequestBuilder { - return new ImSinhRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSqrt method. - */ - public function imSqrt(): ImSqrtRequestBuilder { - return new ImSqrtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSub method. - */ - public function imSub(): ImSubRequestBuilder { - return new ImSubRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imSum method. - */ - public function imSum(): ImSumRequestBuilder { - return new ImSumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the imTan method. - */ - public function imTan(): ImTanRequestBuilder { - return new ImTanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the int method. - */ - public function int(): IntRequestBuilder { - return new IntRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the intRate method. - */ - public function intRate(): IntRateRequestBuilder { - return new IntRateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ipmt method. - */ - public function ipmt(): IpmtRequestBuilder { - return new IpmtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the irr method. - */ - public function irr(): IrrRequestBuilder { - return new IrrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isErr method. - */ - public function isErr(): IsErrRequestBuilder { - return new IsErrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isError method. - */ - public function isError(): IsErrorRequestBuilder { - return new IsErrorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isEven method. - */ - public function isEven(): IsEvenRequestBuilder { - return new IsEvenRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isFormula method. - */ - public function isFormula(): IsFormulaRequestBuilder { - return new IsFormulaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isLogical method. - */ - public function isLogical(): IsLogicalRequestBuilder { - return new IsLogicalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isNA method. - */ - public function isNA(): IsNARequestBuilder { - return new IsNARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isNonText method. - */ - public function isNonText(): IsNonTextRequestBuilder { - return new IsNonTextRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isNumber method. - */ - public function isNumber(): IsNumberRequestBuilder { - return new IsNumberRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the iso_Ceiling method. - */ - public function iso_Ceiling(): Iso_CeilingRequestBuilder { - return new Iso_CeilingRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isOdd method. - */ - public function isOdd(): IsOddRequestBuilder { - return new IsOddRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isoWeekNum method. - */ - public function isoWeekNum(): IsoWeekNumRequestBuilder { - return new IsoWeekNumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ispmt method. - */ - public function ispmt(): IspmtRequestBuilder { - return new IspmtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isref method. - */ - public function isref(): IsrefRequestBuilder { - return new IsrefRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the isText method. - */ - public function isText(): IsTextRequestBuilder { - return new IsTextRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the kurt method. - */ - public function kurt(): KurtRequestBuilder { - return new KurtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the large method. - */ - public function large(): LargeRequestBuilder { - return new LargeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the lcm method. - */ - public function lcm(): LcmRequestBuilder { - return new LcmRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the left method. - */ - public function left(): LeftRequestBuilder { - return new LeftRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the leftb method. - */ - public function leftb(): LeftbRequestBuilder { - return new LeftbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the len method. - */ - public function len(): LenRequestBuilder { - return new LenRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the lenb method. - */ - public function lenb(): LenbRequestBuilder { - return new LenbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ln method. - */ - public function ln(): LnRequestBuilder { - return new LnRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the log method. - */ - public function log(): LogRequestBuilder { - return new LogRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the log10 method. - */ - public function log10(): Log10RequestBuilder { - return new Log10RequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the logNorm_Dist method. - */ - public function logNorm_Dist(): LogNorm_DistRequestBuilder { - return new LogNorm_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the logNorm_Inv method. - */ - public function logNorm_Inv(): LogNorm_InvRequestBuilder { - return new LogNorm_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the lookup method. - */ - public function lookup(): LookupRequestBuilder { - return new LookupRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the lower method. - */ - public function lower(): LowerRequestBuilder { - return new LowerRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the match method. - */ - public function match(): MatchRequestBuilder { - return new MatchRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the max method. - */ - public function max(): MaxRequestBuilder { - return new MaxRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the maxA method. - */ - public function maxA(): MaxARequestBuilder { - return new MaxARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the mduration method. - */ - public function mduration(): MdurationRequestBuilder { - return new MdurationRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the median method. - */ - public function median(): MedianRequestBuilder { - return new MedianRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the mid method. - */ - public function mid(): MidRequestBuilder { - return new MidRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the midb method. - */ - public function midb(): MidbRequestBuilder { - return new MidbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the min method. - */ - public function min(): MinRequestBuilder { - return new MinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the minA method. - */ - public function minA(): MinARequestBuilder { - return new MinARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the minute method. - */ - public function minute(): MinuteRequestBuilder { - return new MinuteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the mirr method. - */ - public function mirr(): MirrRequestBuilder { - return new MirrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the mod method. - */ - public function mod(): ModRequestBuilder { - return new ModRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the month method. - */ - public function month(): MonthRequestBuilder { - return new MonthRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the mround method. - */ - public function mround(): MroundRequestBuilder { - return new MroundRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the multiNomial method. - */ - public function multiNomial(): MultiNomialRequestBuilder { - return new MultiNomialRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the n method. - */ - public function n(): NRequestBuilder { - return new NRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the na method. - */ - public function na(): NaRequestBuilder { - return new NaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the negBinom_Dist method. - */ - public function negBinom_Dist(): NegBinom_DistRequestBuilder { - return new NegBinom_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the networkDays method. - */ - public function networkDays(): NetworkDaysRequestBuilder { - return new NetworkDaysRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the networkDays_Intl method. - */ - public function networkDays_Intl(): NetworkDays_IntlRequestBuilder { - return new NetworkDays_IntlRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the nominal method. - */ - public function nominal(): NominalRequestBuilder { - return new NominalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the norm_Dist method. - */ - public function norm_Dist(): Norm_DistRequestBuilder { - return new Norm_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the norm_Inv method. - */ - public function norm_Inv(): Norm_InvRequestBuilder { - return new Norm_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the norm_S_Dist method. - */ - public function norm_S_Dist(): Norm_S_DistRequestBuilder { - return new Norm_S_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the norm_S_Inv method. - */ - public function norm_S_Inv(): Norm_S_InvRequestBuilder { - return new Norm_S_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the not method. - */ - public function not(): NotRequestBuilder { - return new NotRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the now method. - */ - public function now(): NowRequestBuilder { - return new NowRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the nper method. - */ - public function nper(): NperRequestBuilder { - return new NperRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the npv method. - */ - public function npv(): NpvRequestBuilder { - return new NpvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the numberValue method. - */ - public function numberValue(): NumberValueRequestBuilder { - return new NumberValueRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oct2Bin method. - */ - public function oct2Bin(): Oct2BinRequestBuilder { - return new Oct2BinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oct2Dec method. - */ - public function oct2Dec(): Oct2DecRequestBuilder { - return new Oct2DecRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oct2Hex method. - */ - public function oct2Hex(): Oct2HexRequestBuilder { - return new Oct2HexRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the odd method. - */ - public function odd(): OddRequestBuilder { - return new OddRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oddFPrice method. - */ - public function oddFPrice(): OddFPriceRequestBuilder { - return new OddFPriceRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oddFYield method. - */ - public function oddFYield(): OddFYieldRequestBuilder { - return new OddFYieldRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oddLPrice method. - */ - public function oddLPrice(): OddLPriceRequestBuilder { - return new OddLPriceRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the oddLYield method. - */ - public function oddLYield(): OddLYieldRequestBuilder { - return new OddLYieldRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the pduration method. - */ - public function pduration(): PdurationRequestBuilder { - return new PdurationRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the percentile_Exc method. - */ - public function percentile_Exc(): Percentile_ExcRequestBuilder { - return new Percentile_ExcRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the percentile_Inc method. - */ - public function percentile_Inc(): Percentile_IncRequestBuilder { - return new Percentile_IncRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the percentRank_Exc method. - */ - public function percentRank_Exc(): PercentRank_ExcRequestBuilder { - return new PercentRank_ExcRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the percentRank_Inc method. - */ - public function percentRank_Inc(): PercentRank_IncRequestBuilder { - return new PercentRank_IncRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the permut method. - */ - public function permut(): PermutRequestBuilder { - return new PermutRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the permutationa method. - */ - public function permutationa(): PermutationaRequestBuilder { - return new PermutationaRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the phi method. - */ - public function phi(): PhiRequestBuilder { - return new PhiRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the pi method. - */ - public function pi(): PiRequestBuilder { - return new PiRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the pmt method. - */ - public function pmt(): PmtRequestBuilder { - return new PmtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the poisson_Dist method. - */ - public function poisson_Dist(): Poisson_DistRequestBuilder { - return new Poisson_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the power method. - */ - public function power(): PowerRequestBuilder { - return new PowerRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the ppmt method. - */ - public function ppmt(): PpmtRequestBuilder { - return new PpmtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the price method. - */ - public function price(): PriceRequestBuilder { - return new PriceRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the priceDisc method. - */ - public function priceDisc(): PriceDiscRequestBuilder { - return new PriceDiscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the priceMat method. - */ - public function priceMat(): PriceMatRequestBuilder { - return new PriceMatRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the product method. - */ - public function product(): ProductRequestBuilder { - return new ProductRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the proper method. - */ - public function proper(): ProperRequestBuilder { - return new ProperRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the pv method. - */ - public function pv(): PvRequestBuilder { - return new PvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the quartile_Exc method. - */ - public function quartile_Exc(): Quartile_ExcRequestBuilder { - return new Quartile_ExcRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the quartile_Inc method. - */ - public function quartile_Inc(): Quartile_IncRequestBuilder { - return new Quartile_IncRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the quotient method. - */ - public function quotient(): QuotientRequestBuilder { - return new QuotientRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the radians method. - */ - public function radians(): RadiansRequestBuilder { - return new RadiansRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rand method. - */ - public function rand(): RandRequestBuilder { - return new RandRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the randBetween method. - */ - public function randBetween(): RandBetweenRequestBuilder { - return new RandBetweenRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rank_Avg method. - */ - public function rank_Avg(): Rank_AvgRequestBuilder { - return new Rank_AvgRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rank_Eq method. - */ - public function rank_Eq(): Rank_EqRequestBuilder { - return new Rank_EqRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rate method. - */ - public function rate(): RateRequestBuilder { - return new RateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the received method. - */ - public function received(): ReceivedRequestBuilder { - return new ReceivedRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the replace method. - */ - public function replace(): ReplaceRequestBuilder { - return new ReplaceRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the replaceB method. - */ - public function replaceB(): ReplaceBRequestBuilder { - return new ReplaceBRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rept method. - */ - public function rept(): ReptRequestBuilder { - return new ReptRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the right method. - */ - public function right(): RightRequestBuilder { - return new RightRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rightb method. - */ - public function rightb(): RightbRequestBuilder { - return new RightbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the roman method. - */ - public function roman(): RomanRequestBuilder { - return new RomanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the round method. - */ - public function round(): RoundRequestBuilder { - return new RoundRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the roundDown method. - */ - public function roundDown(): RoundDownRequestBuilder { - return new RoundDownRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the roundUp method. - */ - public function roundUp(): RoundUpRequestBuilder { - return new RoundUpRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rows method. - */ - public function rows(): RowsRequestBuilder { - return new RowsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the rri method. - */ - public function rri(): RriRequestBuilder { - return new RriRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sec method. - */ - public function sec(): SecRequestBuilder { - return new SecRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sech method. - */ - public function sech(): SechRequestBuilder { - return new SechRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the second method. - */ - public function second(): SecondRequestBuilder { - return new SecondRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the seriesSum method. - */ - public function seriesSum(): SeriesSumRequestBuilder { - return new SeriesSumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sheet method. - */ - public function sheet(): SheetRequestBuilder { - return new SheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sheets method. - */ - public function sheets(): SheetsRequestBuilder { - return new SheetsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sign method. - */ - public function sign(): SignRequestBuilder { - return new SignRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sin method. - */ - public function sin(): SinRequestBuilder { - return new SinRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sinh method. - */ - public function sinh(): SinhRequestBuilder { - return new SinhRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the skew method. - */ - public function skew(): SkewRequestBuilder { - return new SkewRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the skew_p method. - */ - public function skew_p(): Skew_pRequestBuilder { - return new Skew_pRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sln method. - */ - public function sln(): SlnRequestBuilder { - return new SlnRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the small method. - */ - public function small(): SmallRequestBuilder { - return new SmallRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sqrt method. - */ - public function sqrt(): SqrtRequestBuilder { - return new SqrtRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sqrtPi method. - */ - public function sqrtPi(): SqrtPiRequestBuilder { - return new SqrtPiRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the standardize method. - */ - public function standardize(): StandardizeRequestBuilder { - return new StandardizeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the stDev_P method. - */ - public function stDev_P(): StDev_PRequestBuilder { - return new StDev_PRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the stDev_S method. - */ - public function stDev_S(): StDev_SRequestBuilder { - return new StDev_SRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the stDevA method. - */ - public function stDevA(): StDevARequestBuilder { - return new StDevARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the stDevPA method. - */ - public function stDevPA(): StDevPARequestBuilder { - return new StDevPARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the substitute method. - */ - public function substitute(): SubstituteRequestBuilder { - return new SubstituteRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the subtotal method. - */ - public function subtotal(): SubtotalRequestBuilder { - return new SubtotalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sum method. - */ - public function sum(): SumRequestBuilder { - return new SumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sumIf method. - */ - public function sumIf(): SumIfRequestBuilder { - return new SumIfRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sumIfs method. - */ - public function sumIfs(): SumIfsRequestBuilder { - return new SumIfsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the sumSq method. - */ - public function sumSq(): SumSqRequestBuilder { - return new SumSqRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the syd method. - */ - public function syd(): SydRequestBuilder { - return new SydRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t method. - */ - public function t(): TRequestBuilder { - return new TRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t_Dist method. - */ - public function t_Dist(): T_DistRequestBuilder { - return new T_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t_Dist_2T method. - */ - public function t_Dist_2T(): T_Dist_2TRequestBuilder { - return new T_Dist_2TRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t_Dist_RT method. - */ - public function t_Dist_RT(): T_Dist_RTRequestBuilder { - return new T_Dist_RTRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t_Inv method. - */ - public function t_Inv(): T_InvRequestBuilder { - return new T_InvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the t_Inv_2T method. - */ - public function t_Inv_2T(): T_Inv_2TRequestBuilder { - return new T_Inv_2TRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the tan method. - */ - public function tan(): TanRequestBuilder { - return new TanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the tanh method. - */ - public function tanh(): TanhRequestBuilder { - return new TanhRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the tbillEq method. - */ - public function tbillEq(): TbillEqRequestBuilder { - return new TbillEqRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the tbillPrice method. - */ - public function tbillPrice(): TbillPriceRequestBuilder { - return new TbillPriceRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the tbillYield method. - */ - public function tbillYield(): TbillYieldRequestBuilder { - return new TbillYieldRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the text method. - */ - public function text(): TextRequestBuilder { - return new TextRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the time method. - */ - public function time(): TimeRequestBuilder { - return new TimeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the timevalue method. - */ - public function timevalue(): TimevalueRequestBuilder { - return new TimevalueRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the today method. - */ - public function today(): TodayRequestBuilder { - return new TodayRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the trim method. - */ - public function trim(): TrimRequestBuilder { - return new TrimRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the trimMean method. - */ - public function trimMean(): TrimMeanRequestBuilder { - return new TrimMeanRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the true method. - */ - public function true(): TrueRequestBuilder { - return new TrueRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the trunc method. - */ - public function trunc(): TruncRequestBuilder { - return new TruncRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the type method. - */ - public function type(): TypeRequestBuilder { - return new TypeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the unichar method. - */ - public function unichar(): UnicharRequestBuilder { - return new UnicharRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the unicode method. - */ - public function unicode(): UnicodeRequestBuilder { - return new UnicodeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the upper method. - */ - public function upper(): UpperRequestBuilder { - return new UpperRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the usdollar method. - */ - public function usdollar(): UsdollarRequestBuilder { - return new UsdollarRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the value method. - */ - public function value(): ValueRequestBuilder { - return new ValueRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the var_P method. - */ - public function var_P(): Var_PRequestBuilder { - return new Var_PRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the var_S method. - */ - public function var_S(): Var_SRequestBuilder { - return new Var_SRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the varA method. - */ - public function varA(): VarARequestBuilder { - return new VarARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the varPA method. - */ - public function varPA(): VarPARequestBuilder { - return new VarPARequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the vdb method. - */ - public function vdb(): VdbRequestBuilder { - return new VdbRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the vlookup method. - */ - public function vlookup(): VlookupRequestBuilder { - return new VlookupRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the weekday method. - */ - public function weekday(): WeekdayRequestBuilder { - return new WeekdayRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the weekNum method. - */ - public function weekNum(): WeekNumRequestBuilder { - return new WeekNumRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the weibull_Dist method. - */ - public function weibull_Dist(): Weibull_DistRequestBuilder { - return new Weibull_DistRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the workDay method. - */ - public function workDay(): WorkDayRequestBuilder { - return new WorkDayRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the workDay_Intl method. - */ - public function workDay_Intl(): WorkDay_IntlRequestBuilder { - return new WorkDay_IntlRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the xirr method. - */ - public function xirr(): XirrRequestBuilder { - return new XirrRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the xnpv method. - */ - public function xnpv(): XnpvRequestBuilder { - return new XnpvRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the year method. - */ - public function year(): YearRequestBuilder { - return new YearRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the yearFrac method. - */ - public function yearFrac(): YearFracRequestBuilder { - return new YearFracRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the yieldDisc method. - */ - public function yieldDisc(): YieldDiscRequestBuilder { - return new YieldDiscRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the yieldMat method. - */ - public function yieldMat(): YieldMatRequestBuilder { - return new YieldMatRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the z_Test method. - */ - public function z_Test(): Z_TestRequestBuilder { - return new Z_TestRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FunctionsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property functions for storage - * @param FunctionsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FunctionsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Get functions from storage - * @param FunctionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FunctionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctions::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property functions in storage - * @param WorkbookFunctions $body The request body - * @param FunctionsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookFunctions $body, ?FunctionsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctions::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property functions for storage - * @param FunctionsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FunctionsRequestBuilderDeleteRequestConfiguration $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 functions from storage - * @param FunctionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfiguration $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 functions in storage - * @param WorkbookFunctions $body The request body - * @param FunctionsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookFunctions $body, ?FunctionsRequestBuilderPatchRequestConfiguration $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 FunctionsRequestBuilder - */ - public function withUrl(string $rawUrl): FunctionsRequestBuilder { - return new FunctionsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index c18699c6386..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetQueryParameters.php deleted file mode 100644 index cb79adbd0b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FunctionsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 12b48040b65..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FunctionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FunctionsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FunctionsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FunctionsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FunctionsRequestBuilderGetQueryParameters { - return new FunctionsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b2fc87b2fac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FunctionsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php deleted file mode 100644 index 05b6dea5d91..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FvPostRequestBody { - return new FvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php deleted file mode 100644 index 415207b967f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fv - * @param FvPostRequestBody $body The request body - * @param FvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FvPostRequestBody $body, ?FvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fv - * @param FvPostRequestBody $body The request body - * @param FvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FvPostRequestBody $body, ?FvRequestBuilderPostRequestConfiguration $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 FvRequestBuilder - */ - public function withUrl(string $rawUrl): FvRequestBuilder { - return new FvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1b902f14aa3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php deleted file mode 100644 index 6edc9f74a3d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return FvschedulePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): FvschedulePostRequestBody { - return new FvschedulePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php deleted file mode 100644 index 053e05bf927..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/fvschedule'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action fvschedule - * @param FvschedulePostRequestBody $body The request body - * @param FvscheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(FvschedulePostRequestBody $body, ?FvscheduleRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action fvschedule - * @param FvschedulePostRequestBody $body The request body - * @param FvscheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(FvschedulePostRequestBody $body, ?FvscheduleRequestBuilderPostRequestConfiguration $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 FvscheduleRequestBuilder - */ - public function withUrl(string $rawUrl): FvscheduleRequestBuilder { - return new FvscheduleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index af522173d8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php deleted file mode 100644 index e9509cc5a27..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GammaPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GammaPostRequestBody { - return new GammaPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php deleted file mode 100644 index 10fd97ef82f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gamma'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gamma - * @param GammaPostRequestBody $body The request body - * @param GammaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GammaPostRequestBody $body, ?GammaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gamma - * @param GammaPostRequestBody $body The request body - * @param GammaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GammaPostRequestBody $body, ?GammaRequestBuilderPostRequestConfiguration $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 GammaRequestBuilder - */ - public function withUrl(string $rawUrl): GammaRequestBuilder { - return new GammaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7886924e1c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php deleted file mode 100644 index 7bcb283b8ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GammaLnPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GammaLnPostRequestBody { - return new GammaLnPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php deleted file mode 100644 index e6bd26e8ddb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gammaLn'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gammaLn - * @param GammaLnPostRequestBody $body The request body - * @param GammaLnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GammaLnPostRequestBody $body, ?GammaLnRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gammaLn - * @param GammaLnPostRequestBody $body The request body - * @param GammaLnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GammaLnPostRequestBody $body, ?GammaLnRequestBuilderPostRequestConfiguration $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 GammaLnRequestBuilder - */ - public function withUrl(string $rawUrl): GammaLnRequestBuilder { - return new GammaLnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7f4eb26aa25..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php deleted file mode 100644 index 4b60f9f3718..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GammaLn_PrecisePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GammaLn_PrecisePostRequestBody { - return new GammaLn_PrecisePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php deleted file mode 100644 index b35551185e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gammaLn_Precise'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gammaLn_Precise - * @param GammaLn_PrecisePostRequestBody $body The request body - * @param GammaLn_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GammaLn_PrecisePostRequestBody $body, ?GammaLn_PreciseRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gammaLn_Precise - * @param GammaLn_PrecisePostRequestBody $body The request body - * @param GammaLn_PreciseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GammaLn_PrecisePostRequestBody $body, ?GammaLn_PreciseRequestBuilderPostRequestConfiguration $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 GammaLn_PreciseRequestBuilder - */ - public function withUrl(string $rawUrl): GammaLn_PreciseRequestBuilder { - return new GammaLn_PreciseRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e41c91fe93c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php deleted file mode 100644 index b2668b94b57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Gamma_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Gamma_DistPostRequestBody { - return new Gamma_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php deleted file mode 100644 index a1fd7b16aad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gamma_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gamma_Dist - * @param Gamma_DistPostRequestBody $body The request body - * @param Gamma_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Gamma_DistPostRequestBody $body, ?Gamma_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gamma_Dist - * @param Gamma_DistPostRequestBody $body The request body - * @param Gamma_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Gamma_DistPostRequestBody $body, ?Gamma_DistRequestBuilderPostRequestConfiguration $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 Gamma_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Gamma_DistRequestBuilder { - return new Gamma_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cd86f03ce87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php deleted file mode 100644 index f68f5e502ef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Gamma_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Gamma_InvPostRequestBody { - return new Gamma_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php deleted file mode 100644 index 8ad8d6df899..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gamma_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gamma_Inv - * @param Gamma_InvPostRequestBody $body The request body - * @param Gamma_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Gamma_InvPostRequestBody $body, ?Gamma_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gamma_Inv - * @param Gamma_InvPostRequestBody $body The request body - * @param Gamma_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Gamma_InvPostRequestBody $body, ?Gamma_InvRequestBuilderPostRequestConfiguration $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 Gamma_InvRequestBuilder - */ - public function withUrl(string $rawUrl): Gamma_InvRequestBuilder { - return new Gamma_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f98764db833..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php deleted file mode 100644 index bf19ef97f5d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GaussPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GaussPostRequestBody { - return new GaussPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php deleted file mode 100644 index 1f04fa3346b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gauss'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gauss - * @param GaussPostRequestBody $body The request body - * @param GaussRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GaussPostRequestBody $body, ?GaussRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gauss - * @param GaussPostRequestBody $body The request body - * @param GaussRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GaussPostRequestBody $body, ?GaussRequestBuilderPostRequestConfiguration $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 GaussRequestBuilder - */ - public function withUrl(string $rawUrl): GaussRequestBuilder { - return new GaussRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index db1e8361c12..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php deleted file mode 100644 index 538d8f5bc50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GcdPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GcdPostRequestBody { - return new GcdPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php deleted file mode 100644 index 0b8b2dcfeec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/gcd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action gcd - * @param GcdPostRequestBody $body The request body - * @param GcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GcdPostRequestBody $body, ?GcdRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action gcd - * @param GcdPostRequestBody $body The request body - * @param GcdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GcdPostRequestBody $body, ?GcdRequestBuilderPostRequestConfiguration $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 GcdRequestBuilder - */ - public function withUrl(string $rawUrl): GcdRequestBuilder { - return new GcdRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 60c1a62e471..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php deleted file mode 100644 index e24f7e264dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GeStepPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GeStepPostRequestBody { - return new GeStepPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php deleted file mode 100644 index f9a5c3e1961..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/geStep'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action geStep - * @param GeStepPostRequestBody $body The request body - * @param GeStepRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GeStepPostRequestBody $body, ?GeStepRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action geStep - * @param GeStepPostRequestBody $body The request body - * @param GeStepRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GeStepPostRequestBody $body, ?GeStepRequestBuilderPostRequestConfiguration $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 GeStepRequestBuilder - */ - public function withUrl(string $rawUrl): GeStepRequestBuilder { - return new GeStepRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 78bf2bbf2c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php deleted file mode 100644 index eec8184eb75..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return GeoMeanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoMeanPostRequestBody { - return new GeoMeanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php deleted file mode 100644 index 2977564e36b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/geoMean'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action geoMean - * @param GeoMeanPostRequestBody $body The request body - * @param GeoMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(GeoMeanPostRequestBody $body, ?GeoMeanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action geoMean - * @param GeoMeanPostRequestBody $body The request body - * @param GeoMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(GeoMeanPostRequestBody $body, ?GeoMeanRequestBuilderPostRequestConfiguration $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 GeoMeanRequestBuilder - */ - public function withUrl(string $rawUrl): GeoMeanRequestBuilder { - return new GeoMeanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 44fc582a21b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php deleted file mode 100644 index 36d85f0b437..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return HarMeanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): HarMeanPostRequestBody { - return new HarMeanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php deleted file mode 100644 index d958b92d9bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/harMean'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action harMean - * @param HarMeanPostRequestBody $body The request body - * @param HarMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(HarMeanPostRequestBody $body, ?HarMeanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action harMean - * @param HarMeanPostRequestBody $body The request body - * @param HarMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(HarMeanPostRequestBody $body, ?HarMeanRequestBuilderPostRequestConfiguration $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 HarMeanRequestBuilder - */ - public function withUrl(string $rawUrl): HarMeanRequestBuilder { - return new HarMeanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e37d400a615..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php deleted file mode 100644 index f5122b16285..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Hex2BinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Hex2BinPostRequestBody { - return new Hex2BinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php deleted file mode 100644 index fc31f200c91..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hex2Bin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hex2Bin - * @param Hex2BinPostRequestBody $body The request body - * @param Hex2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Hex2BinPostRequestBody $body, ?Hex2BinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hex2Bin - * @param Hex2BinPostRequestBody $body The request body - * @param Hex2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Hex2BinPostRequestBody $body, ?Hex2BinRequestBuilderPostRequestConfiguration $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 Hex2BinRequestBuilder - */ - public function withUrl(string $rawUrl): Hex2BinRequestBuilder { - return new Hex2BinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5738dc51dd9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php deleted file mode 100644 index 9f709d45be0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Hex2DecPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Hex2DecPostRequestBody { - return new Hex2DecPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php deleted file mode 100644 index cda54d4631e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hex2Dec'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hex2Dec - * @param Hex2DecPostRequestBody $body The request body - * @param Hex2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Hex2DecPostRequestBody $body, ?Hex2DecRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hex2Dec - * @param Hex2DecPostRequestBody $body The request body - * @param Hex2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Hex2DecPostRequestBody $body, ?Hex2DecRequestBuilderPostRequestConfiguration $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 Hex2DecRequestBuilder - */ - public function withUrl(string $rawUrl): Hex2DecRequestBuilder { - return new Hex2DecRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7d531232691..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php deleted file mode 100644 index 7bfc8a1b193..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Hex2OctPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Hex2OctPostRequestBody { - return new Hex2OctPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php deleted file mode 100644 index 6ee2ed700c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hex2Oct'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hex2Oct - * @param Hex2OctPostRequestBody $body The request body - * @param Hex2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Hex2OctPostRequestBody $body, ?Hex2OctRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hex2Oct - * @param Hex2OctPostRequestBody $body The request body - * @param Hex2OctRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Hex2OctPostRequestBody $body, ?Hex2OctRequestBuilderPostRequestConfiguration $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 Hex2OctRequestBuilder - */ - public function withUrl(string $rawUrl): Hex2OctRequestBuilder { - return new Hex2OctRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6d061b276f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php deleted file mode 100644 index 57d294f5938..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return HlookupPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): HlookupPostRequestBody { - return new HlookupPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php deleted file mode 100644 index 154168a2791..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hlookup'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hlookup - * @param HlookupPostRequestBody $body The request body - * @param HlookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(HlookupPostRequestBody $body, ?HlookupRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hlookup - * @param HlookupPostRequestBody $body The request body - * @param HlookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(HlookupPostRequestBody $body, ?HlookupRequestBuilderPostRequestConfiguration $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 HlookupRequestBuilder - */ - public function withUrl(string $rawUrl): HlookupRequestBuilder { - return new HlookupRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 783e0e8116b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php deleted file mode 100644 index 56dd62fda3d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return HourPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): HourPostRequestBody { - return new HourPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php deleted file mode 100644 index 7f86fca64a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hour'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hour - * @param HourPostRequestBody $body The request body - * @param HourRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(HourPostRequestBody $body, ?HourRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hour - * @param HourPostRequestBody $body The request body - * @param HourRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(HourPostRequestBody $body, ?HourRequestBuilderPostRequestConfiguration $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 HourRequestBuilder - */ - public function withUrl(string $rawUrl): HourRequestBuilder { - return new HourRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ef52ac02490..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php deleted file mode 100644 index 4553da90df5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return HypGeom_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): HypGeom_DistPostRequestBody { - return new HypGeom_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php deleted file mode 100644 index 5af83a0a316..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hypGeom_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hypGeom_Dist - * @param HypGeom_DistPostRequestBody $body The request body - * @param HypGeom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(HypGeom_DistPostRequestBody $body, ?HypGeom_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hypGeom_Dist - * @param HypGeom_DistPostRequestBody $body The request body - * @param HypGeom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(HypGeom_DistPostRequestBody $body, ?HypGeom_DistRequestBuilderPostRequestConfiguration $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 HypGeom_DistRequestBuilder - */ - public function withUrl(string $rawUrl): HypGeom_DistRequestBuilder { - return new HypGeom_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 651e0db516c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php deleted file mode 100644 index 2dc8fa80997..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return HyperlinkPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): HyperlinkPostRequestBody { - return new HyperlinkPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php deleted file mode 100644 index 52830fe6b2f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/hyperlink'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action hyperlink - * @param HyperlinkPostRequestBody $body The request body - * @param HyperlinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(HyperlinkPostRequestBody $body, ?HyperlinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action hyperlink - * @param HyperlinkPostRequestBody $body The request body - * @param HyperlinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(HyperlinkPostRequestBody $body, ?HyperlinkRequestBuilderPostRequestConfiguration $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 HyperlinkRequestBuilder - */ - public function withUrl(string $rawUrl): HyperlinkRequestBuilder { - return new HyperlinkRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ab67d58eae9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php deleted file mode 100644 index ae4871f1ff3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImAbsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImAbsPostRequestBody { - return new ImAbsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php deleted file mode 100644 index 03369613357..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imAbs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imAbs - * @param ImAbsPostRequestBody $body The request body - * @param ImAbsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImAbsPostRequestBody $body, ?ImAbsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imAbs - * @param ImAbsPostRequestBody $body The request body - * @param ImAbsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImAbsPostRequestBody $body, ?ImAbsRequestBuilderPostRequestConfiguration $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 ImAbsRequestBuilder - */ - public function withUrl(string $rawUrl): ImAbsRequestBuilder { - return new ImAbsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fb8204fd5f7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php deleted file mode 100644 index 22ad738cde1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImArgumentPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImArgumentPostRequestBody { - return new ImArgumentPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php deleted file mode 100644 index e7a01977c52..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imArgument'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imArgument - * @param ImArgumentPostRequestBody $body The request body - * @param ImArgumentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImArgumentPostRequestBody $body, ?ImArgumentRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imArgument - * @param ImArgumentPostRequestBody $body The request body - * @param ImArgumentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImArgumentPostRequestBody $body, ?ImArgumentRequestBuilderPostRequestConfiguration $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 ImArgumentRequestBuilder - */ - public function withUrl(string $rawUrl): ImArgumentRequestBuilder { - return new ImArgumentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9251cecaabf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php deleted file mode 100644 index a71f5bb3ff2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImConjugatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImConjugatePostRequestBody { - return new ImConjugatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php deleted file mode 100644 index 27112ce5e57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imConjugate'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imConjugate - * @param ImConjugatePostRequestBody $body The request body - * @param ImConjugateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImConjugatePostRequestBody $body, ?ImConjugateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imConjugate - * @param ImConjugatePostRequestBody $body The request body - * @param ImConjugateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImConjugatePostRequestBody $body, ?ImConjugateRequestBuilderPostRequestConfiguration $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 ImConjugateRequestBuilder - */ - public function withUrl(string $rawUrl): ImConjugateRequestBuilder { - return new ImConjugateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 72e79945a2b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php deleted file mode 100644 index 38f860cf801..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImCosPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImCosPostRequestBody { - return new ImCosPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php deleted file mode 100644 index e55a3723604..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imCos'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imCos - * @param ImCosPostRequestBody $body The request body - * @param ImCosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImCosPostRequestBody $body, ?ImCosRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imCos - * @param ImCosPostRequestBody $body The request body - * @param ImCosRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImCosPostRequestBody $body, ?ImCosRequestBuilderPostRequestConfiguration $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 ImCosRequestBuilder - */ - public function withUrl(string $rawUrl): ImCosRequestBuilder { - return new ImCosRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 985cf7d7063..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php deleted file mode 100644 index 07d10e404dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImCoshPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImCoshPostRequestBody { - return new ImCoshPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php deleted file mode 100644 index 7b75b1b5483..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imCosh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imCosh - * @param ImCoshPostRequestBody $body The request body - * @param ImCoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImCoshPostRequestBody $body, ?ImCoshRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imCosh - * @param ImCoshPostRequestBody $body The request body - * @param ImCoshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImCoshPostRequestBody $body, ?ImCoshRequestBuilderPostRequestConfiguration $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 ImCoshRequestBuilder - */ - public function withUrl(string $rawUrl): ImCoshRequestBuilder { - return new ImCoshRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 575bf55bfc8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php deleted file mode 100644 index 17d3a37c5b0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImCotPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImCotPostRequestBody { - return new ImCotPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php deleted file mode 100644 index 1172b54bc1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imCot'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imCot - * @param ImCotPostRequestBody $body The request body - * @param ImCotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImCotPostRequestBody $body, ?ImCotRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imCot - * @param ImCotPostRequestBody $body The request body - * @param ImCotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImCotPostRequestBody $body, ?ImCotRequestBuilderPostRequestConfiguration $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 ImCotRequestBuilder - */ - public function withUrl(string $rawUrl): ImCotRequestBuilder { - return new ImCotRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 10735566d42..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php deleted file mode 100644 index 82007ba1880..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImCscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImCscPostRequestBody { - return new ImCscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php deleted file mode 100644 index 4eeffa914cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imCsc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imCsc - * @param ImCscPostRequestBody $body The request body - * @param ImCscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImCscPostRequestBody $body, ?ImCscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imCsc - * @param ImCscPostRequestBody $body The request body - * @param ImCscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImCscPostRequestBody $body, ?ImCscRequestBuilderPostRequestConfiguration $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 ImCscRequestBuilder - */ - public function withUrl(string $rawUrl): ImCscRequestBuilder { - return new ImCscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 36e9dd001dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php deleted file mode 100644 index a568f8da5cd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImCschPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImCschPostRequestBody { - return new ImCschPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php deleted file mode 100644 index af998b4cbef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imCsch'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imCsch - * @param ImCschPostRequestBody $body The request body - * @param ImCschRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImCschPostRequestBody $body, ?ImCschRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imCsch - * @param ImCschPostRequestBody $body The request body - * @param ImCschRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImCschPostRequestBody $body, ?ImCschRequestBuilderPostRequestConfiguration $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 ImCschRequestBuilder - */ - public function withUrl(string $rawUrl): ImCschRequestBuilder { - return new ImCschRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ffe39da5d07..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php deleted file mode 100644 index 7ccd49c4ee5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImDivPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImDivPostRequestBody { - return new ImDivPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php deleted file mode 100644 index 8d961fb1a6d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imDiv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imDiv - * @param ImDivPostRequestBody $body The request body - * @param ImDivRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImDivPostRequestBody $body, ?ImDivRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imDiv - * @param ImDivPostRequestBody $body The request body - * @param ImDivRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImDivPostRequestBody $body, ?ImDivRequestBuilderPostRequestConfiguration $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 ImDivRequestBuilder - */ - public function withUrl(string $rawUrl): ImDivRequestBuilder { - return new ImDivRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 21f72d3496e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php deleted file mode 100644 index 6bb44eaecc7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImExpPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImExpPostRequestBody { - return new ImExpPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php deleted file mode 100644 index 31d66e7a753..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imExp'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imExp - * @param ImExpPostRequestBody $body The request body - * @param ImExpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImExpPostRequestBody $body, ?ImExpRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imExp - * @param ImExpPostRequestBody $body The request body - * @param ImExpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImExpPostRequestBody $body, ?ImExpRequestBuilderPostRequestConfiguration $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 ImExpRequestBuilder - */ - public function withUrl(string $rawUrl): ImExpRequestBuilder { - return new ImExpRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 026f7911ab2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php deleted file mode 100644 index 8994c5ee579..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImLnPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImLnPostRequestBody { - return new ImLnPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php deleted file mode 100644 index f30c0a70786..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imLn'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imLn - * @param ImLnPostRequestBody $body The request body - * @param ImLnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImLnPostRequestBody $body, ?ImLnRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imLn - * @param ImLnPostRequestBody $body The request body - * @param ImLnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImLnPostRequestBody $body, ?ImLnRequestBuilderPostRequestConfiguration $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 ImLnRequestBuilder - */ - public function withUrl(string $rawUrl): ImLnRequestBuilder { - return new ImLnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ba95b500b7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php deleted file mode 100644 index 9baf63ca3ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImLog10PostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImLog10PostRequestBody { - return new ImLog10PostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php deleted file mode 100644 index f6949299bae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imLog10'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imLog10 - * @param ImLog10PostRequestBody $body The request body - * @param ImLog10RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImLog10PostRequestBody $body, ?ImLog10RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imLog10 - * @param ImLog10PostRequestBody $body The request body - * @param ImLog10RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImLog10PostRequestBody $body, ?ImLog10RequestBuilderPostRequestConfiguration $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 ImLog10RequestBuilder - */ - public function withUrl(string $rawUrl): ImLog10RequestBuilder { - return new ImLog10RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b5154c481c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php deleted file mode 100644 index a9cc65cdae7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImLog2PostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImLog2PostRequestBody { - return new ImLog2PostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php deleted file mode 100644 index b83b71c58e4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imLog2'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imLog2 - * @param ImLog2PostRequestBody $body The request body - * @param ImLog2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImLog2PostRequestBody $body, ?ImLog2RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imLog2 - * @param ImLog2PostRequestBody $body The request body - * @param ImLog2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImLog2PostRequestBody $body, ?ImLog2RequestBuilderPostRequestConfiguration $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 ImLog2RequestBuilder - */ - public function withUrl(string $rawUrl): ImLog2RequestBuilder { - return new ImLog2RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7168ba3131a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php deleted file mode 100644 index 350a9d102d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImPowerPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImPowerPostRequestBody { - return new ImPowerPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php deleted file mode 100644 index 897dfc0cf06..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imPower'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imPower - * @param ImPowerPostRequestBody $body The request body - * @param ImPowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImPowerPostRequestBody $body, ?ImPowerRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imPower - * @param ImPowerPostRequestBody $body The request body - * @param ImPowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImPowerPostRequestBody $body, ?ImPowerRequestBuilderPostRequestConfiguration $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 ImPowerRequestBuilder - */ - public function withUrl(string $rawUrl): ImPowerRequestBuilder { - return new ImPowerRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index aae611b4d8b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php deleted file mode 100644 index a8f2c2b5a6b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImProductPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImProductPostRequestBody { - return new ImProductPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php deleted file mode 100644 index 83bfa8c108c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imProduct'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imProduct - * @param ImProductPostRequestBody $body The request body - * @param ImProductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImProductPostRequestBody $body, ?ImProductRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imProduct - * @param ImProductPostRequestBody $body The request body - * @param ImProductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImProductPostRequestBody $body, ?ImProductRequestBuilderPostRequestConfiguration $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 ImProductRequestBuilder - */ - public function withUrl(string $rawUrl): ImProductRequestBuilder { - return new ImProductRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 810a06d7b7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php deleted file mode 100644 index 08ef4fb38f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImRealPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImRealPostRequestBody { - return new ImRealPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php deleted file mode 100644 index b1b9c173e41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imReal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imReal - * @param ImRealPostRequestBody $body The request body - * @param ImRealRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImRealPostRequestBody $body, ?ImRealRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imReal - * @param ImRealPostRequestBody $body The request body - * @param ImRealRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImRealPostRequestBody $body, ?ImRealRequestBuilderPostRequestConfiguration $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 ImRealRequestBuilder - */ - public function withUrl(string $rawUrl): ImRealRequestBuilder { - return new ImRealRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 21f79923cfe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php deleted file mode 100644 index 2f1c498e3f2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSecPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSecPostRequestBody { - return new ImSecPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php deleted file mode 100644 index b2dc5edc88b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSec'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSec - * @param ImSecPostRequestBody $body The request body - * @param ImSecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSecPostRequestBody $body, ?ImSecRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSec - * @param ImSecPostRequestBody $body The request body - * @param ImSecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSecPostRequestBody $body, ?ImSecRequestBuilderPostRequestConfiguration $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 ImSecRequestBuilder - */ - public function withUrl(string $rawUrl): ImSecRequestBuilder { - return new ImSecRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6f010f332a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php deleted file mode 100644 index f7e612de22d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSechPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSechPostRequestBody { - return new ImSechPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php deleted file mode 100644 index 66018eb6210..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSech'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSech - * @param ImSechPostRequestBody $body The request body - * @param ImSechRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSechPostRequestBody $body, ?ImSechRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSech - * @param ImSechPostRequestBody $body The request body - * @param ImSechRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSechPostRequestBody $body, ?ImSechRequestBuilderPostRequestConfiguration $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 ImSechRequestBuilder - */ - public function withUrl(string $rawUrl): ImSechRequestBuilder { - return new ImSechRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 692b36a520f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php deleted file mode 100644 index 228c993e19d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSinPostRequestBody { - return new ImSinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php deleted file mode 100644 index f620bf173c5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSin - * @param ImSinPostRequestBody $body The request body - * @param ImSinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSinPostRequestBody $body, ?ImSinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSin - * @param ImSinPostRequestBody $body The request body - * @param ImSinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSinPostRequestBody $body, ?ImSinRequestBuilderPostRequestConfiguration $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 ImSinRequestBuilder - */ - public function withUrl(string $rawUrl): ImSinRequestBuilder { - return new ImSinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ced8c5cc451..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php deleted file mode 100644 index b4844aa27c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSinhPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSinhPostRequestBody { - return new ImSinhPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php deleted file mode 100644 index 38dfd7298ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSinh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSinh - * @param ImSinhPostRequestBody $body The request body - * @param ImSinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSinhPostRequestBody $body, ?ImSinhRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSinh - * @param ImSinhPostRequestBody $body The request body - * @param ImSinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSinhPostRequestBody $body, ?ImSinhRequestBuilderPostRequestConfiguration $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 ImSinhRequestBuilder - */ - public function withUrl(string $rawUrl): ImSinhRequestBuilder { - return new ImSinhRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ee8a94c76ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php deleted file mode 100644 index f76db1cf3b5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSqrtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSqrtPostRequestBody { - return new ImSqrtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php deleted file mode 100644 index ff6cb966b47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSqrt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSqrt - * @param ImSqrtPostRequestBody $body The request body - * @param ImSqrtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSqrtPostRequestBody $body, ?ImSqrtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSqrt - * @param ImSqrtPostRequestBody $body The request body - * @param ImSqrtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSqrtPostRequestBody $body, ?ImSqrtRequestBuilderPostRequestConfiguration $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 ImSqrtRequestBuilder - */ - public function withUrl(string $rawUrl): ImSqrtRequestBuilder { - return new ImSqrtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 619b1dd8ec3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php deleted file mode 100644 index f8954667888..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSubPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSubPostRequestBody { - return new ImSubPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php deleted file mode 100644 index 2e2d7403ab2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSub'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSub - * @param ImSubPostRequestBody $body The request body - * @param ImSubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSubPostRequestBody $body, ?ImSubRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSub - * @param ImSubPostRequestBody $body The request body - * @param ImSubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSubPostRequestBody $body, ?ImSubRequestBuilderPostRequestConfiguration $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 ImSubRequestBuilder - */ - public function withUrl(string $rawUrl): ImSubRequestBuilder { - return new ImSubRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f3e619a05f7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php deleted file mode 100644 index d4d48d5b410..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImSumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImSumPostRequestBody { - return new ImSumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php deleted file mode 100644 index 1d1b832499f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imSum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imSum - * @param ImSumPostRequestBody $body The request body - * @param ImSumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImSumPostRequestBody $body, ?ImSumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imSum - * @param ImSumPostRequestBody $body The request body - * @param ImSumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImSumPostRequestBody $body, ?ImSumRequestBuilderPostRequestConfiguration $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 ImSumRequestBuilder - */ - public function withUrl(string $rawUrl): ImSumRequestBuilder { - return new ImSumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 755349d9484..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php deleted file mode 100644 index 460d7f3b79c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImTanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImTanPostRequestBody { - return new ImTanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php deleted file mode 100644 index 244dc205dd4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imTan'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imTan - * @param ImTanPostRequestBody $body The request body - * @param ImTanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImTanPostRequestBody $body, ?ImTanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imTan - * @param ImTanPostRequestBody $body The request body - * @param ImTanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImTanPostRequestBody $body, ?ImTanRequestBuilderPostRequestConfiguration $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 ImTanRequestBuilder - */ - public function withUrl(string $rawUrl): ImTanRequestBuilder { - return new ImTanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ec512fd48c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php deleted file mode 100644 index bc10d9e13a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImaginaryPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImaginaryPostRequestBody { - return new ImaginaryPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php deleted file mode 100644 index c41a1c79ed5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/imaginary'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action imaginary - * @param ImaginaryPostRequestBody $body The request body - * @param ImaginaryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ImaginaryPostRequestBody $body, ?ImaginaryRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action imaginary - * @param ImaginaryPostRequestBody $body The request body - * @param ImaginaryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ImaginaryPostRequestBody $body, ?ImaginaryRequestBuilderPostRequestConfiguration $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 ImaginaryRequestBuilder - */ - public function withUrl(string $rawUrl): ImaginaryRequestBuilder { - return new ImaginaryRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d121b0de77b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php deleted file mode 100644 index e4b8239c027..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IntPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IntPostRequestBody { - return new IntPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php deleted file mode 100644 index 520606f0b54..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/int'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action int - * @param IntPostRequestBody $body The request body - * @param IntRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IntPostRequestBody $body, ?IntRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action int - * @param IntPostRequestBody $body The request body - * @param IntRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IntPostRequestBody $body, ?IntRequestBuilderPostRequestConfiguration $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 IntRequestBuilder - */ - public function withUrl(string $rawUrl): IntRequestBuilder { - return new IntRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 29642d4dc4c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php deleted file mode 100644 index b1ced8a186d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IntRatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IntRatePostRequestBody { - return new IntRatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php deleted file mode 100644 index 66188b78658..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/intRate'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action intRate - * @param IntRatePostRequestBody $body The request body - * @param IntRateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IntRatePostRequestBody $body, ?IntRateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action intRate - * @param IntRatePostRequestBody $body The request body - * @param IntRateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IntRatePostRequestBody $body, ?IntRateRequestBuilderPostRequestConfiguration $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 IntRateRequestBuilder - */ - public function withUrl(string $rawUrl): IntRateRequestBuilder { - return new IntRateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 534e737aaf5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php deleted file mode 100644 index e65a161ba20..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IpmtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IpmtPostRequestBody { - return new IpmtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php deleted file mode 100644 index d9873ea1d93..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ipmt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ipmt - * @param IpmtPostRequestBody $body The request body - * @param IpmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IpmtPostRequestBody $body, ?IpmtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ipmt - * @param IpmtPostRequestBody $body The request body - * @param IpmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IpmtPostRequestBody $body, ?IpmtRequestBuilderPostRequestConfiguration $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 IpmtRequestBuilder - */ - public function withUrl(string $rawUrl): IpmtRequestBuilder { - return new IpmtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a42f5e9fdbc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php deleted file mode 100644 index 53f80515986..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IrrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IrrPostRequestBody { - return new IrrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php deleted file mode 100644 index fc0bc322972..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/irr'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action irr - * @param IrrPostRequestBody $body The request body - * @param IrrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IrrPostRequestBody $body, ?IrrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action irr - * @param IrrPostRequestBody $body The request body - * @param IrrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IrrPostRequestBody $body, ?IrrRequestBuilderPostRequestConfiguration $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 IrrRequestBuilder - */ - public function withUrl(string $rawUrl): IrrRequestBuilder { - return new IrrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8a3d82e6706..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php deleted file mode 100644 index 119011afcce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsErrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsErrPostRequestBody { - return new IsErrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php deleted file mode 100644 index bdb7697eacd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isErr'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isErr - * @param IsErrPostRequestBody $body The request body - * @param IsErrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsErrPostRequestBody $body, ?IsErrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isErr - * @param IsErrPostRequestBody $body The request body - * @param IsErrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsErrPostRequestBody $body, ?IsErrRequestBuilderPostRequestConfiguration $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 IsErrRequestBuilder - */ - public function withUrl(string $rawUrl): IsErrRequestBuilder { - return new IsErrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9141b607e63..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php deleted file mode 100644 index a71ca498678..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsErrorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsErrorPostRequestBody { - return new IsErrorPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php deleted file mode 100644 index ea5fd37fc8e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isError'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isError - * @param IsErrorPostRequestBody $body The request body - * @param IsErrorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsErrorPostRequestBody $body, ?IsErrorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isError - * @param IsErrorPostRequestBody $body The request body - * @param IsErrorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsErrorPostRequestBody $body, ?IsErrorRequestBuilderPostRequestConfiguration $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 IsErrorRequestBuilder - */ - public function withUrl(string $rawUrl): IsErrorRequestBuilder { - return new IsErrorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2a2bfc306df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php deleted file mode 100644 index a06581df29a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsEvenPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsEvenPostRequestBody { - return new IsEvenPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php deleted file mode 100644 index 16f6edd835f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isEven'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isEven - * @param IsEvenPostRequestBody $body The request body - * @param IsEvenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsEvenPostRequestBody $body, ?IsEvenRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isEven - * @param IsEvenPostRequestBody $body The request body - * @param IsEvenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsEvenPostRequestBody $body, ?IsEvenRequestBuilderPostRequestConfiguration $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 IsEvenRequestBuilder - */ - public function withUrl(string $rawUrl): IsEvenRequestBuilder { - return new IsEvenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 09a7d88371a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php deleted file mode 100644 index 1f02db0659e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsFormulaPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsFormulaPostRequestBody { - return new IsFormulaPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php deleted file mode 100644 index 02a922e74cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isFormula'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isFormula - * @param IsFormulaPostRequestBody $body The request body - * @param IsFormulaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsFormulaPostRequestBody $body, ?IsFormulaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isFormula - * @param IsFormulaPostRequestBody $body The request body - * @param IsFormulaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsFormulaPostRequestBody $body, ?IsFormulaRequestBuilderPostRequestConfiguration $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 IsFormulaRequestBuilder - */ - public function withUrl(string $rawUrl): IsFormulaRequestBuilder { - return new IsFormulaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b515619f26d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php deleted file mode 100644 index 9b8e9d2b3a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsLogicalPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsLogicalPostRequestBody { - return new IsLogicalPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php deleted file mode 100644 index a4212c87321..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isLogical'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isLogical - * @param IsLogicalPostRequestBody $body The request body - * @param IsLogicalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsLogicalPostRequestBody $body, ?IsLogicalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isLogical - * @param IsLogicalPostRequestBody $body The request body - * @param IsLogicalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsLogicalPostRequestBody $body, ?IsLogicalRequestBuilderPostRequestConfiguration $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 IsLogicalRequestBuilder - */ - public function withUrl(string $rawUrl): IsLogicalRequestBuilder { - return new IsLogicalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 211b850cf90..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php deleted file mode 100644 index d94ed350b30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsNAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsNAPostRequestBody { - return new IsNAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php deleted file mode 100644 index aed3e07479f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isNA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isNA - * @param IsNAPostRequestBody $body The request body - * @param IsNARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsNAPostRequestBody $body, ?IsNARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isNA - * @param IsNAPostRequestBody $body The request body - * @param IsNARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsNAPostRequestBody $body, ?IsNARequestBuilderPostRequestConfiguration $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 IsNARequestBuilder - */ - public function withUrl(string $rawUrl): IsNARequestBuilder { - return new IsNARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 011159ff17c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php deleted file mode 100644 index b1d80d498c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsNonTextPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsNonTextPostRequestBody { - return new IsNonTextPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php deleted file mode 100644 index 1cae25c200c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isNonText'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isNonText - * @param IsNonTextPostRequestBody $body The request body - * @param IsNonTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsNonTextPostRequestBody $body, ?IsNonTextRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isNonText - * @param IsNonTextPostRequestBody $body The request body - * @param IsNonTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsNonTextPostRequestBody $body, ?IsNonTextRequestBuilderPostRequestConfiguration $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 IsNonTextRequestBuilder - */ - public function withUrl(string $rawUrl): IsNonTextRequestBuilder { - return new IsNonTextRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 09ab5d40f03..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php deleted file mode 100644 index 2b8274b879a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsNumberPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsNumberPostRequestBody { - return new IsNumberPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php deleted file mode 100644 index f0a22843110..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isNumber'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isNumber - * @param IsNumberPostRequestBody $body The request body - * @param IsNumberRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsNumberPostRequestBody $body, ?IsNumberRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isNumber - * @param IsNumberPostRequestBody $body The request body - * @param IsNumberRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsNumberPostRequestBody $body, ?IsNumberRequestBuilderPostRequestConfiguration $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 IsNumberRequestBuilder - */ - public function withUrl(string $rawUrl): IsNumberRequestBuilder { - return new IsNumberRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e9d2ffc6cab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php deleted file mode 100644 index c2706f908c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsOddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsOddPostRequestBody { - return new IsOddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php deleted file mode 100644 index 4e45f43601b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isOdd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isOdd - * @param IsOddPostRequestBody $body The request body - * @param IsOddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsOddPostRequestBody $body, ?IsOddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isOdd - * @param IsOddPostRequestBody $body The request body - * @param IsOddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsOddPostRequestBody $body, ?IsOddRequestBuilderPostRequestConfiguration $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 IsOddRequestBuilder - */ - public function withUrl(string $rawUrl): IsOddRequestBuilder { - return new IsOddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b25f5005454..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php deleted file mode 100644 index 410573baefa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsTextPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsTextPostRequestBody { - return new IsTextPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php deleted file mode 100644 index e7181c26e5b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isText'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isText - * @param IsTextPostRequestBody $body The request body - * @param IsTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsTextPostRequestBody $body, ?IsTextRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isText - * @param IsTextPostRequestBody $body The request body - * @param IsTextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsTextPostRequestBody $body, ?IsTextRequestBuilderPostRequestConfiguration $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 IsTextRequestBuilder - */ - public function withUrl(string $rawUrl): IsTextRequestBuilder { - return new IsTextRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 43be87fd0e6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php deleted file mode 100644 index 1c8b4379d10..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsoWeekNumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsoWeekNumPostRequestBody { - return new IsoWeekNumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php deleted file mode 100644 index 9b268de3e50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isoWeekNum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isoWeekNum - * @param IsoWeekNumPostRequestBody $body The request body - * @param IsoWeekNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsoWeekNumPostRequestBody $body, ?IsoWeekNumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isoWeekNum - * @param IsoWeekNumPostRequestBody $body The request body - * @param IsoWeekNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsoWeekNumPostRequestBody $body, ?IsoWeekNumRequestBuilderPostRequestConfiguration $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 IsoWeekNumRequestBuilder - */ - public function withUrl(string $rawUrl): IsoWeekNumRequestBuilder { - return new IsoWeekNumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 578c31c4b9b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php deleted file mode 100644 index 581f3df56a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Iso_CeilingPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Iso_CeilingPostRequestBody { - return new Iso_CeilingPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php deleted file mode 100644 index 66278d9df1d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/iso_Ceiling'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action iso_Ceiling - * @param Iso_CeilingPostRequestBody $body The request body - * @param Iso_CeilingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Iso_CeilingPostRequestBody $body, ?Iso_CeilingRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action iso_Ceiling - * @param Iso_CeilingPostRequestBody $body The request body - * @param Iso_CeilingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Iso_CeilingPostRequestBody $body, ?Iso_CeilingRequestBuilderPostRequestConfiguration $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 Iso_CeilingRequestBuilder - */ - public function withUrl(string $rawUrl): Iso_CeilingRequestBuilder { - return new Iso_CeilingRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e3f47c5b41f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php deleted file mode 100644 index 10ed52e1d49..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IspmtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IspmtPostRequestBody { - return new IspmtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php deleted file mode 100644 index 65c855d658b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ispmt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ispmt - * @param IspmtPostRequestBody $body The request body - * @param IspmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IspmtPostRequestBody $body, ?IspmtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ispmt - * @param IspmtPostRequestBody $body The request body - * @param IspmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IspmtPostRequestBody $body, ?IspmtRequestBuilderPostRequestConfiguration $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 IspmtRequestBuilder - */ - public function withUrl(string $rawUrl): IspmtRequestBuilder { - return new IspmtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 58ad33861dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php deleted file mode 100644 index 16fe57a5c4f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsrefPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsrefPostRequestBody { - return new IsrefPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php deleted file mode 100644 index ab7c55dd730..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/isref'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action isref - * @param IsrefPostRequestBody $body The request body - * @param IsrefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(IsrefPostRequestBody $body, ?IsrefRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action isref - * @param IsrefPostRequestBody $body The request body - * @param IsrefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(IsrefPostRequestBody $body, ?IsrefRequestBuilderPostRequestConfiguration $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 IsrefRequestBuilder - */ - public function withUrl(string $rawUrl): IsrefRequestBuilder { - return new IsrefRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 14fc556061c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php deleted file mode 100644 index 67c3a02c123..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return KurtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): KurtPostRequestBody { - return new KurtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php deleted file mode 100644 index 86e436e549c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/kurt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action kurt - * @param KurtPostRequestBody $body The request body - * @param KurtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(KurtPostRequestBody $body, ?KurtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action kurt - * @param KurtPostRequestBody $body The request body - * @param KurtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(KurtPostRequestBody $body, ?KurtRequestBuilderPostRequestConfiguration $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 KurtRequestBuilder - */ - public function withUrl(string $rawUrl): KurtRequestBuilder { - return new KurtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4ac55cc1212..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php deleted file mode 100644 index a1279251089..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LargePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LargePostRequestBody { - return new LargePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php deleted file mode 100644 index 5c6265429bd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/large'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action large - * @param LargePostRequestBody $body The request body - * @param LargeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LargePostRequestBody $body, ?LargeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action large - * @param LargePostRequestBody $body The request body - * @param LargeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LargePostRequestBody $body, ?LargeRequestBuilderPostRequestConfiguration $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 LargeRequestBuilder - */ - public function withUrl(string $rawUrl): LargeRequestBuilder { - return new LargeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ddd46cba93c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php deleted file mode 100644 index c1b03242da6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LcmPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LcmPostRequestBody { - return new LcmPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php deleted file mode 100644 index c8800344808..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/lcm'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action lcm - * @param LcmPostRequestBody $body The request body - * @param LcmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LcmPostRequestBody $body, ?LcmRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action lcm - * @param LcmPostRequestBody $body The request body - * @param LcmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LcmPostRequestBody $body, ?LcmRequestBuilderPostRequestConfiguration $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 LcmRequestBuilder - */ - public function withUrl(string $rawUrl): LcmRequestBuilder { - return new LcmRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 45f434af0b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php deleted file mode 100644 index a9546352bd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LeftPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LeftPostRequestBody { - return new LeftPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php deleted file mode 100644 index f66520b7b2c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/left'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action left - * @param LeftPostRequestBody $body The request body - * @param LeftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LeftPostRequestBody $body, ?LeftRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action left - * @param LeftPostRequestBody $body The request body - * @param LeftRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LeftPostRequestBody $body, ?LeftRequestBuilderPostRequestConfiguration $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 LeftRequestBuilder - */ - public function withUrl(string $rawUrl): LeftRequestBuilder { - return new LeftRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d073429da69..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php deleted file mode 100644 index d67f1236754..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LeftbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LeftbPostRequestBody { - return new LeftbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php deleted file mode 100644 index f237715591c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/leftb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action leftb - * @param LeftbPostRequestBody $body The request body - * @param LeftbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LeftbPostRequestBody $body, ?LeftbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action leftb - * @param LeftbPostRequestBody $body The request body - * @param LeftbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LeftbPostRequestBody $body, ?LeftbRequestBuilderPostRequestConfiguration $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 LeftbRequestBuilder - */ - public function withUrl(string $rawUrl): LeftbRequestBuilder { - return new LeftbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1b57921ae7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php deleted file mode 100644 index 9c3d407ae86..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LenPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LenPostRequestBody { - return new LenPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php deleted file mode 100644 index d828e9821b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/len'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action len - * @param LenPostRequestBody $body The request body - * @param LenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LenPostRequestBody $body, ?LenRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action len - * @param LenPostRequestBody $body The request body - * @param LenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LenPostRequestBody $body, ?LenRequestBuilderPostRequestConfiguration $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 LenRequestBuilder - */ - public function withUrl(string $rawUrl): LenRequestBuilder { - return new LenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c86372d782e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php deleted file mode 100644 index 95dcd7e2bde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LenbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LenbPostRequestBody { - return new LenbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php deleted file mode 100644 index 965d394279f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/lenb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action lenb - * @param LenbPostRequestBody $body The request body - * @param LenbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LenbPostRequestBody $body, ?LenbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action lenb - * @param LenbPostRequestBody $body The request body - * @param LenbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LenbPostRequestBody $body, ?LenbRequestBuilderPostRequestConfiguration $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 LenbRequestBuilder - */ - public function withUrl(string $rawUrl): LenbRequestBuilder { - return new LenbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 411a1d8ae26..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php deleted file mode 100644 index af31ac7bb7e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LnPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LnPostRequestBody { - return new LnPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php deleted file mode 100644 index 832c44f1fb9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ln'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ln - * @param LnPostRequestBody $body The request body - * @param LnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LnPostRequestBody $body, ?LnRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ln - * @param LnPostRequestBody $body The request body - * @param LnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LnPostRequestBody $body, ?LnRequestBuilderPostRequestConfiguration $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 LnRequestBuilder - */ - public function withUrl(string $rawUrl): LnRequestBuilder { - return new LnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a5dd10150f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php deleted file mode 100644 index 5b03d3df584..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LogPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LogPostRequestBody { - return new LogPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php deleted file mode 100644 index 5362d5ff3e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/log'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action log - * @param LogPostRequestBody $body The request body - * @param LogRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LogPostRequestBody $body, ?LogRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action log - * @param LogPostRequestBody $body The request body - * @param LogRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LogPostRequestBody $body, ?LogRequestBuilderPostRequestConfiguration $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 LogRequestBuilder - */ - public function withUrl(string $rawUrl): LogRequestBuilder { - return new LogRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index af53098f916..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php deleted file mode 100644 index dc15038a35b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Log10PostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Log10PostRequestBody { - return new Log10PostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php deleted file mode 100644 index 782042e7415..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/log10'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action log10 - * @param Log10PostRequestBody $body The request body - * @param Log10RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Log10PostRequestBody $body, ?Log10RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action log10 - * @param Log10PostRequestBody $body The request body - * @param Log10RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Log10PostRequestBody $body, ?Log10RequestBuilderPostRequestConfiguration $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 Log10RequestBuilder - */ - public function withUrl(string $rawUrl): Log10RequestBuilder { - return new Log10RequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3da5a658887..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10RequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php deleted file mode 100644 index 3b466668c15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LogNorm_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LogNorm_DistPostRequestBody { - return new LogNorm_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php deleted file mode 100644 index 4785c9e0ae6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/logNorm_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action logNorm_Dist - * @param LogNorm_DistPostRequestBody $body The request body - * @param LogNorm_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LogNorm_DistPostRequestBody $body, ?LogNorm_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action logNorm_Dist - * @param LogNorm_DistPostRequestBody $body The request body - * @param LogNorm_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LogNorm_DistPostRequestBody $body, ?LogNorm_DistRequestBuilderPostRequestConfiguration $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 LogNorm_DistRequestBuilder - */ - public function withUrl(string $rawUrl): LogNorm_DistRequestBuilder { - return new LogNorm_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6b1d740f752..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php deleted file mode 100644 index 583adcd41c0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LogNorm_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LogNorm_InvPostRequestBody { - return new LogNorm_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php deleted file mode 100644 index e70c6edcb09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/logNorm_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action logNorm_Inv - * @param LogNorm_InvPostRequestBody $body The request body - * @param LogNorm_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LogNorm_InvPostRequestBody $body, ?LogNorm_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action logNorm_Inv - * @param LogNorm_InvPostRequestBody $body The request body - * @param LogNorm_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LogNorm_InvPostRequestBody $body, ?LogNorm_InvRequestBuilderPostRequestConfiguration $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 LogNorm_InvRequestBuilder - */ - public function withUrl(string $rawUrl): LogNorm_InvRequestBuilder { - return new LogNorm_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3f1dadf4ae4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php deleted file mode 100644 index b613af143b1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LookupPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LookupPostRequestBody { - return new LookupPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php deleted file mode 100644 index a6ac44d0857..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/lookup'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action lookup - * @param LookupPostRequestBody $body The request body - * @param LookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LookupPostRequestBody $body, ?LookupRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action lookup - * @param LookupPostRequestBody $body The request body - * @param LookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LookupPostRequestBody $body, ?LookupRequestBuilderPostRequestConfiguration $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 LookupRequestBuilder - */ - public function withUrl(string $rawUrl): LookupRequestBuilder { - return new LookupRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4e6eb3f33a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php deleted file mode 100644 index 28f4494abc5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return LowerPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): LowerPostRequestBody { - return new LowerPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php deleted file mode 100644 index 3fcf843fc17..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/lower'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action lower - * @param LowerPostRequestBody $body The request body - * @param LowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(LowerPostRequestBody $body, ?LowerRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action lower - * @param LowerPostRequestBody $body The request body - * @param LowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(LowerPostRequestBody $body, ?LowerRequestBuilderPostRequestConfiguration $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 LowerRequestBuilder - */ - public function withUrl(string $rawUrl): LowerRequestBuilder { - return new LowerRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index dfa4dddae63..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php deleted file mode 100644 index 3b0514ada21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MatchPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MatchPostRequestBody { - return new MatchPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php deleted file mode 100644 index 62f34261352..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/match'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action match - * @param MatchPostRequestBody $body The request body - * @param MatchRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MatchPostRequestBody $body, ?MatchRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action match - * @param MatchPostRequestBody $body The request body - * @param MatchRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MatchPostRequestBody $body, ?MatchRequestBuilderPostRequestConfiguration $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 MatchRequestBuilder - */ - public function withUrl(string $rawUrl): MatchRequestBuilder { - return new MatchRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 39da3bf3953..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php deleted file mode 100644 index 19dec1d6381..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MaxPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MaxPostRequestBody { - return new MaxPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php deleted file mode 100644 index baffa3aa63d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/max'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action max - * @param MaxPostRequestBody $body The request body - * @param MaxRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MaxPostRequestBody $body, ?MaxRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action max - * @param MaxPostRequestBody $body The request body - * @param MaxRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MaxPostRequestBody $body, ?MaxRequestBuilderPostRequestConfiguration $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 MaxRequestBuilder - */ - public function withUrl(string $rawUrl): MaxRequestBuilder { - return new MaxRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 22db7f9eb01..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php deleted file mode 100644 index 5446e9ba1ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MaxAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MaxAPostRequestBody { - return new MaxAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php deleted file mode 100644 index fcc0b7ed9cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/maxA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action maxA - * @param MaxAPostRequestBody $body The request body - * @param MaxARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MaxAPostRequestBody $body, ?MaxARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action maxA - * @param MaxAPostRequestBody $body The request body - * @param MaxARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MaxAPostRequestBody $body, ?MaxARequestBuilderPostRequestConfiguration $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 MaxARequestBuilder - */ - public function withUrl(string $rawUrl): MaxARequestBuilder { - return new MaxARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5c6c72fb2cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php deleted file mode 100644 index 5b8b577bfea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MdurationPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MdurationPostRequestBody { - return new MdurationPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php deleted file mode 100644 index 64153aaf410..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/mduration'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action mduration - * @param MdurationPostRequestBody $body The request body - * @param MdurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MdurationPostRequestBody $body, ?MdurationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action mduration - * @param MdurationPostRequestBody $body The request body - * @param MdurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MdurationPostRequestBody $body, ?MdurationRequestBuilderPostRequestConfiguration $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 MdurationRequestBuilder - */ - public function withUrl(string $rawUrl): MdurationRequestBuilder { - return new MdurationRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 13bf8b62c92..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php deleted file mode 100644 index e592c3fe322..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MedianPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MedianPostRequestBody { - return new MedianPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php deleted file mode 100644 index 7c9e56757cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/median'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action median - * @param MedianPostRequestBody $body The request body - * @param MedianRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MedianPostRequestBody $body, ?MedianRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action median - * @param MedianPostRequestBody $body The request body - * @param MedianRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MedianPostRequestBody $body, ?MedianRequestBuilderPostRequestConfiguration $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 MedianRequestBuilder - */ - public function withUrl(string $rawUrl): MedianRequestBuilder { - return new MedianRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8da7b5f147a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php deleted file mode 100644 index 8c38ab2866f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MidPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MidPostRequestBody { - return new MidPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php deleted file mode 100644 index 143e1509b8f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/mid'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action mid - * @param MidPostRequestBody $body The request body - * @param MidRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MidPostRequestBody $body, ?MidRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action mid - * @param MidPostRequestBody $body The request body - * @param MidRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MidPostRequestBody $body, ?MidRequestBuilderPostRequestConfiguration $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 MidRequestBuilder - */ - public function withUrl(string $rawUrl): MidRequestBuilder { - return new MidRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0e64a5573c0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php deleted file mode 100644 index 2ff4b68a487..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MidbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MidbPostRequestBody { - return new MidbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php deleted file mode 100644 index aea40f07528..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/midb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action midb - * @param MidbPostRequestBody $body The request body - * @param MidbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MidbPostRequestBody $body, ?MidbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action midb - * @param MidbPostRequestBody $body The request body - * @param MidbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MidbPostRequestBody $body, ?MidbRequestBuilderPostRequestConfiguration $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 MidbRequestBuilder - */ - public function withUrl(string $rawUrl): MidbRequestBuilder { - return new MidbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fc680dc4204..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php deleted file mode 100644 index 819822f8930..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MinPostRequestBody { - return new MinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php deleted file mode 100644 index e5f97de0479..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/min'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action min - * @param MinPostRequestBody $body The request body - * @param MinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MinPostRequestBody $body, ?MinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action min - * @param MinPostRequestBody $body The request body - * @param MinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MinPostRequestBody $body, ?MinRequestBuilderPostRequestConfiguration $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 MinRequestBuilder - */ - public function withUrl(string $rawUrl): MinRequestBuilder { - return new MinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5b2ad778e2a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php deleted file mode 100644 index fd8eb3016e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MinAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MinAPostRequestBody { - return new MinAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php deleted file mode 100644 index e57a7017489..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/minA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action minA - * @param MinAPostRequestBody $body The request body - * @param MinARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MinAPostRequestBody $body, ?MinARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action minA - * @param MinAPostRequestBody $body The request body - * @param MinARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MinAPostRequestBody $body, ?MinARequestBuilderPostRequestConfiguration $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 MinARequestBuilder - */ - public function withUrl(string $rawUrl): MinARequestBuilder { - return new MinARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5bd064977b3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php deleted file mode 100644 index 72b7efd8a77..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MinutePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MinutePostRequestBody { - return new MinutePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php deleted file mode 100644 index 68ec5f0ab21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/minute'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action minute - * @param MinutePostRequestBody $body The request body - * @param MinuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MinutePostRequestBody $body, ?MinuteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action minute - * @param MinutePostRequestBody $body The request body - * @param MinuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MinutePostRequestBody $body, ?MinuteRequestBuilderPostRequestConfiguration $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 MinuteRequestBuilder - */ - public function withUrl(string $rawUrl): MinuteRequestBuilder { - return new MinuteRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d52040d4b9e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php deleted file mode 100644 index 88ff79cb0b0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MirrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MirrPostRequestBody { - return new MirrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php deleted file mode 100644 index 0174333a5b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/mirr'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action mirr - * @param MirrPostRequestBody $body The request body - * @param MirrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MirrPostRequestBody $body, ?MirrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action mirr - * @param MirrPostRequestBody $body The request body - * @param MirrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MirrPostRequestBody $body, ?MirrRequestBuilderPostRequestConfiguration $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 MirrRequestBuilder - */ - public function withUrl(string $rawUrl): MirrRequestBuilder { - return new MirrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4dffcf7e9ef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php deleted file mode 100644 index 3b5734c8c32..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ModPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ModPostRequestBody { - return new ModPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php deleted file mode 100644 index da185d4fbdb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/mod'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action mod - * @param ModPostRequestBody $body The request body - * @param ModRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ModPostRequestBody $body, ?ModRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action mod - * @param ModPostRequestBody $body The request body - * @param ModRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ModPostRequestBody $body, ?ModRequestBuilderPostRequestConfiguration $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 ModRequestBuilder - */ - public function withUrl(string $rawUrl): ModRequestBuilder { - return new ModRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 24097166d27..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php deleted file mode 100644 index fdd5d856ba4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MonthPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MonthPostRequestBody { - return new MonthPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php deleted file mode 100644 index 10dca889e6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/month'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action month - * @param MonthPostRequestBody $body The request body - * @param MonthRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MonthPostRequestBody $body, ?MonthRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action month - * @param MonthPostRequestBody $body The request body - * @param MonthRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MonthPostRequestBody $body, ?MonthRequestBuilderPostRequestConfiguration $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 MonthRequestBuilder - */ - public function withUrl(string $rawUrl): MonthRequestBuilder { - return new MonthRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2d2eeaa27ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php deleted file mode 100644 index 58376ad47c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MroundPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MroundPostRequestBody { - return new MroundPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php deleted file mode 100644 index 03cce3506a7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/mround'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action mround - * @param MroundPostRequestBody $body The request body - * @param MroundRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MroundPostRequestBody $body, ?MroundRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action mround - * @param MroundPostRequestBody $body The request body - * @param MroundRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MroundPostRequestBody $body, ?MroundRequestBuilderPostRequestConfiguration $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 MroundRequestBuilder - */ - public function withUrl(string $rawUrl): MroundRequestBuilder { - return new MroundRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ceca59cf225..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php deleted file mode 100644 index aab5ba55296..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return MultiNomialPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MultiNomialPostRequestBody { - return new MultiNomialPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php deleted file mode 100644 index 6b8f1f54b64..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/multiNomial'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action multiNomial - * @param MultiNomialPostRequestBody $body The request body - * @param MultiNomialRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(MultiNomialPostRequestBody $body, ?MultiNomialRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action multiNomial - * @param MultiNomialPostRequestBody $body The request body - * @param MultiNomialRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(MultiNomialPostRequestBody $body, ?MultiNomialRequestBuilderPostRequestConfiguration $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 MultiNomialRequestBuilder - */ - public function withUrl(string $rawUrl): MultiNomialRequestBuilder { - return new MultiNomialRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ab6ac377182..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php deleted file mode 100644 index 0df792c8097..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NPostRequestBody { - return new NPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilder.php deleted file mode 100644 index 7295084a6f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/n'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action n - * @param NPostRequestBody $body The request body - * @param NRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NPostRequestBody $body, ?NRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action n - * @param NPostRequestBody $body The request body - * @param NRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NPostRequestBody $body, ?NRequestBuilderPostRequestConfiguration $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 NRequestBuilder - */ - public function withUrl(string $rawUrl): NRequestBuilder { - return new NRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b950c2992e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php deleted file mode 100644 index 7f8ab364759..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/na'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action na - * @param NaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?NaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action na - * @param NaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?NaRequestBuilderPostRequestConfiguration $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"); - 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 NaRequestBuilder - */ - public function withUrl(string $rawUrl): NaRequestBuilder { - return new NaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0490fb5386d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Na/NaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php deleted file mode 100644 index 760d15cd083..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NegBinom_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NegBinom_DistPostRequestBody { - return new NegBinom_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php deleted file mode 100644 index 0a5a97ad326..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/negBinom_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action negBinom_Dist - * @param NegBinom_DistPostRequestBody $body The request body - * @param NegBinom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NegBinom_DistPostRequestBody $body, ?NegBinom_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action negBinom_Dist - * @param NegBinom_DistPostRequestBody $body The request body - * @param NegBinom_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NegBinom_DistPostRequestBody $body, ?NegBinom_DistRequestBuilderPostRequestConfiguration $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 NegBinom_DistRequestBuilder - */ - public function withUrl(string $rawUrl): NegBinom_DistRequestBuilder { - return new NegBinom_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cd692caeb58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php deleted file mode 100644 index b6bbe7ce7d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NetworkDaysPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkDaysPostRequestBody { - return new NetworkDaysPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php deleted file mode 100644 index 9c63341ac90..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/networkDays'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action networkDays - * @param NetworkDaysPostRequestBody $body The request body - * @param NetworkDaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NetworkDaysPostRequestBody $body, ?NetworkDaysRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action networkDays - * @param NetworkDaysPostRequestBody $body The request body - * @param NetworkDaysRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NetworkDaysPostRequestBody $body, ?NetworkDaysRequestBuilderPostRequestConfiguration $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 NetworkDaysRequestBuilder - */ - public function withUrl(string $rawUrl): NetworkDaysRequestBuilder { - return new NetworkDaysRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b46fbe9e3f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php deleted file mode 100644 index 66e667426af..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NetworkDays_IntlPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkDays_IntlPostRequestBody { - return new NetworkDays_IntlPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php deleted file mode 100644 index e25073fce3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/networkDays_Intl'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action networkDays_Intl - * @param NetworkDays_IntlPostRequestBody $body The request body - * @param NetworkDays_IntlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NetworkDays_IntlPostRequestBody $body, ?NetworkDays_IntlRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action networkDays_Intl - * @param NetworkDays_IntlPostRequestBody $body The request body - * @param NetworkDays_IntlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NetworkDays_IntlPostRequestBody $body, ?NetworkDays_IntlRequestBuilderPostRequestConfiguration $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 NetworkDays_IntlRequestBuilder - */ - public function withUrl(string $rawUrl): NetworkDays_IntlRequestBuilder { - return new NetworkDays_IntlRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 39539f4a40b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php deleted file mode 100644 index de351222ccd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NominalPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NominalPostRequestBody { - return new NominalPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php deleted file mode 100644 index cfded460871..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/nominal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action nominal - * @param NominalPostRequestBody $body The request body - * @param NominalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NominalPostRequestBody $body, ?NominalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action nominal - * @param NominalPostRequestBody $body The request body - * @param NominalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NominalPostRequestBody $body, ?NominalRequestBuilderPostRequestConfiguration $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 NominalRequestBuilder - */ - public function withUrl(string $rawUrl): NominalRequestBuilder { - return new NominalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0ca457d3d82..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php deleted file mode 100644 index 4709bd12aa7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Norm_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Norm_DistPostRequestBody { - return new Norm_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php deleted file mode 100644 index b5dcaa6983c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/norm_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action norm_Dist - * @param Norm_DistPostRequestBody $body The request body - * @param Norm_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Norm_DistPostRequestBody $body, ?Norm_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action norm_Dist - * @param Norm_DistPostRequestBody $body The request body - * @param Norm_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Norm_DistPostRequestBody $body, ?Norm_DistRequestBuilderPostRequestConfiguration $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 Norm_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Norm_DistRequestBuilder { - return new Norm_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 74a5d15fec5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php deleted file mode 100644 index 881b425e862..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Norm_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Norm_InvPostRequestBody { - return new Norm_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php deleted file mode 100644 index 4f4010c1dd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/norm_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action norm_Inv - * @param Norm_InvPostRequestBody $body The request body - * @param Norm_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Norm_InvPostRequestBody $body, ?Norm_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action norm_Inv - * @param Norm_InvPostRequestBody $body The request body - * @param Norm_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Norm_InvPostRequestBody $body, ?Norm_InvRequestBuilderPostRequestConfiguration $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 Norm_InvRequestBuilder - */ - public function withUrl(string $rawUrl): Norm_InvRequestBuilder { - return new Norm_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1e560d35d8f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php deleted file mode 100644 index f7613b664c6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Norm_S_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Norm_S_DistPostRequestBody { - return new Norm_S_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php deleted file mode 100644 index 0f107dbfbef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/norm_S_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action norm_S_Dist - * @param Norm_S_DistPostRequestBody $body The request body - * @param Norm_S_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Norm_S_DistPostRequestBody $body, ?Norm_S_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action norm_S_Dist - * @param Norm_S_DistPostRequestBody $body The request body - * @param Norm_S_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Norm_S_DistPostRequestBody $body, ?Norm_S_DistRequestBuilderPostRequestConfiguration $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 Norm_S_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Norm_S_DistRequestBuilder { - return new Norm_S_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2ade21f84d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php deleted file mode 100644 index eb290956d64..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Norm_S_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Norm_S_InvPostRequestBody { - return new Norm_S_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php deleted file mode 100644 index 0091defed23..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/norm_S_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action norm_S_Inv - * @param Norm_S_InvPostRequestBody $body The request body - * @param Norm_S_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Norm_S_InvPostRequestBody $body, ?Norm_S_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action norm_S_Inv - * @param Norm_S_InvPostRequestBody $body The request body - * @param Norm_S_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Norm_S_InvPostRequestBody $body, ?Norm_S_InvRequestBuilderPostRequestConfiguration $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 Norm_S_InvRequestBuilder - */ - public function withUrl(string $rawUrl): Norm_S_InvRequestBuilder { - return new Norm_S_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6762fa8eb9b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php deleted file mode 100644 index d01f4076a92..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NotPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NotPostRequestBody { - return new NotPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php deleted file mode 100644 index e816b655edd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/not'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action not - * @param NotPostRequestBody $body The request body - * @param NotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NotPostRequestBody $body, ?NotRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action not - * @param NotPostRequestBody $body The request body - * @param NotRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NotPostRequestBody $body, ?NotRequestBuilderPostRequestConfiguration $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 NotRequestBuilder - */ - public function withUrl(string $rawUrl): NotRequestBuilder { - return new NotRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d598fac5d61..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php deleted file mode 100644 index 4d9ebc5928a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/now'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action now - * @param NowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?NowRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action now - * @param NowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?NowRequestBuilderPostRequestConfiguration $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"); - 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 NowRequestBuilder - */ - public function withUrl(string $rawUrl): NowRequestBuilder { - return new NowRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 08b8050b156..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Now/NowRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php deleted file mode 100644 index 096a9a7bdbe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NperPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NperPostRequestBody { - return new NperPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php deleted file mode 100644 index dcc7cdb8e1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/nper'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action nper - * @param NperPostRequestBody $body The request body - * @param NperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NperPostRequestBody $body, ?NperRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action nper - * @param NperPostRequestBody $body The request body - * @param NperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NperPostRequestBody $body, ?NperRequestBuilderPostRequestConfiguration $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 NperRequestBuilder - */ - public function withUrl(string $rawUrl): NperRequestBuilder { - return new NperRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a3bbac61a78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php deleted file mode 100644 index b2e18f4ab3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NpvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NpvPostRequestBody { - return new NpvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php deleted file mode 100644 index b656b144149..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/npv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action npv - * @param NpvPostRequestBody $body The request body - * @param NpvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NpvPostRequestBody $body, ?NpvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action npv - * @param NpvPostRequestBody $body The request body - * @param NpvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NpvPostRequestBody $body, ?NpvRequestBuilderPostRequestConfiguration $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 NpvRequestBuilder - */ - public function withUrl(string $rawUrl): NpvRequestBuilder { - return new NpvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 69c7bf015cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php deleted file mode 100644 index 990647af96a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NumberValuePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NumberValuePostRequestBody { - return new NumberValuePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php deleted file mode 100644 index 25a53682621..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/numberValue'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action numberValue - * @param NumberValuePostRequestBody $body The request body - * @param NumberValueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(NumberValuePostRequestBody $body, ?NumberValueRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action numberValue - * @param NumberValuePostRequestBody $body The request body - * @param NumberValueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NumberValuePostRequestBody $body, ?NumberValueRequestBuilderPostRequestConfiguration $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 NumberValueRequestBuilder - */ - public function withUrl(string $rawUrl): NumberValueRequestBuilder { - return new NumberValueRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8be855d60d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php deleted file mode 100644 index 974ad7cab02..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Oct2BinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Oct2BinPostRequestBody { - return new Oct2BinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php deleted file mode 100644 index b8ef197fdd6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oct2Bin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oct2Bin - * @param Oct2BinPostRequestBody $body The request body - * @param Oct2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Oct2BinPostRequestBody $body, ?Oct2BinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oct2Bin - * @param Oct2BinPostRequestBody $body The request body - * @param Oct2BinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Oct2BinPostRequestBody $body, ?Oct2BinRequestBuilderPostRequestConfiguration $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 Oct2BinRequestBuilder - */ - public function withUrl(string $rawUrl): Oct2BinRequestBuilder { - return new Oct2BinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d9f07190c02..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php deleted file mode 100644 index 52676cb7ba1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Oct2DecPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Oct2DecPostRequestBody { - return new Oct2DecPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php deleted file mode 100644 index 2ec8b097e8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oct2Dec'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oct2Dec - * @param Oct2DecPostRequestBody $body The request body - * @param Oct2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Oct2DecPostRequestBody $body, ?Oct2DecRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oct2Dec - * @param Oct2DecPostRequestBody $body The request body - * @param Oct2DecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Oct2DecPostRequestBody $body, ?Oct2DecRequestBuilderPostRequestConfiguration $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 Oct2DecRequestBuilder - */ - public function withUrl(string $rawUrl): Oct2DecRequestBuilder { - return new Oct2DecRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 50bcbd57bcd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php deleted file mode 100644 index d0b4f906a23..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Oct2HexPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Oct2HexPostRequestBody { - return new Oct2HexPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php deleted file mode 100644 index b2b3b720143..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oct2Hex'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oct2Hex - * @param Oct2HexPostRequestBody $body The request body - * @param Oct2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Oct2HexPostRequestBody $body, ?Oct2HexRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oct2Hex - * @param Oct2HexPostRequestBody $body The request body - * @param Oct2HexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Oct2HexPostRequestBody $body, ?Oct2HexRequestBuilderPostRequestConfiguration $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 Oct2HexRequestBuilder - */ - public function withUrl(string $rawUrl): Oct2HexRequestBuilder { - return new Oct2HexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5e43d16425d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php deleted file mode 100644 index 2d5d54f74c4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OddPostRequestBody { - return new OddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php deleted file mode 100644 index f44537acfee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/odd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action odd - * @param OddPostRequestBody $body The request body - * @param OddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OddPostRequestBody $body, ?OddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action odd - * @param OddPostRequestBody $body The request body - * @param OddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OddPostRequestBody $body, ?OddRequestBuilderPostRequestConfiguration $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 OddRequestBuilder - */ - public function withUrl(string $rawUrl): OddRequestBuilder { - return new OddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1c7869caabe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php deleted file mode 100644 index a4dab6a5ce5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OddFPricePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OddFPricePostRequestBody { - return new OddFPricePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php deleted file mode 100644 index 000703232f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oddFPrice'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oddFPrice - * @param OddFPricePostRequestBody $body The request body - * @param OddFPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OddFPricePostRequestBody $body, ?OddFPriceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oddFPrice - * @param OddFPricePostRequestBody $body The request body - * @param OddFPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OddFPricePostRequestBody $body, ?OddFPriceRequestBuilderPostRequestConfiguration $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 OddFPriceRequestBuilder - */ - public function withUrl(string $rawUrl): OddFPriceRequestBuilder { - return new OddFPriceRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6810b9ce83a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php deleted file mode 100644 index 00f69ab4bc3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OddFYieldPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OddFYieldPostRequestBody { - return new OddFYieldPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php deleted file mode 100644 index 46dc6c0b9d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oddFYield'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oddFYield - * @param OddFYieldPostRequestBody $body The request body - * @param OddFYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OddFYieldPostRequestBody $body, ?OddFYieldRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oddFYield - * @param OddFYieldPostRequestBody $body The request body - * @param OddFYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OddFYieldPostRequestBody $body, ?OddFYieldRequestBuilderPostRequestConfiguration $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 OddFYieldRequestBuilder - */ - public function withUrl(string $rawUrl): OddFYieldRequestBuilder { - return new OddFYieldRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3e40c98c47d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php deleted file mode 100644 index 6eae8104125..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OddLPricePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OddLPricePostRequestBody { - return new OddLPricePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php deleted file mode 100644 index 044cdbe2827..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oddLPrice'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oddLPrice - * @param OddLPricePostRequestBody $body The request body - * @param OddLPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OddLPricePostRequestBody $body, ?OddLPriceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oddLPrice - * @param OddLPricePostRequestBody $body The request body - * @param OddLPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OddLPricePostRequestBody $body, ?OddLPriceRequestBuilderPostRequestConfiguration $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 OddLPriceRequestBuilder - */ - public function withUrl(string $rawUrl): OddLPriceRequestBuilder { - return new OddLPriceRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 530d5b48a75..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php deleted file mode 100644 index 8ee78072bfe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return OddLYieldPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): OddLYieldPostRequestBody { - return new OddLYieldPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php deleted file mode 100644 index 74aa50ee76a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/oddLYield'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action oddLYield - * @param OddLYieldPostRequestBody $body The request body - * @param OddLYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OddLYieldPostRequestBody $body, ?OddLYieldRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action oddLYield - * @param OddLYieldPostRequestBody $body The request body - * @param OddLYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OddLYieldPostRequestBody $body, ?OddLYieldRequestBuilderPostRequestConfiguration $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 OddLYieldRequestBuilder - */ - public function withUrl(string $rawUrl): OddLYieldRequestBuilder { - return new OddLYieldRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fd2f018e947..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php deleted file mode 100644 index 69e079a4f10..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PdurationPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PdurationPostRequestBody { - return new PdurationPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php deleted file mode 100644 index 1320432d95d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/pduration'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action pduration - * @param PdurationPostRequestBody $body The request body - * @param PdurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PdurationPostRequestBody $body, ?PdurationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action pduration - * @param PdurationPostRequestBody $body The request body - * @param PdurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PdurationPostRequestBody $body, ?PdurationRequestBuilderPostRequestConfiguration $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 PdurationRequestBuilder - */ - public function withUrl(string $rawUrl): PdurationRequestBuilder { - return new PdurationRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5470746c0a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php deleted file mode 100644 index e88dad3b72c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PercentRank_ExcPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PercentRank_ExcPostRequestBody { - return new PercentRank_ExcPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php deleted file mode 100644 index 7cf0f48aef1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/percentRank_Exc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action percentRank_Exc - * @param PercentRank_ExcPostRequestBody $body The request body - * @param PercentRank_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PercentRank_ExcPostRequestBody $body, ?PercentRank_ExcRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action percentRank_Exc - * @param PercentRank_ExcPostRequestBody $body The request body - * @param PercentRank_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PercentRank_ExcPostRequestBody $body, ?PercentRank_ExcRequestBuilderPostRequestConfiguration $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 PercentRank_ExcRequestBuilder - */ - public function withUrl(string $rawUrl): PercentRank_ExcRequestBuilder { - return new PercentRank_ExcRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 52c472a2212..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php deleted file mode 100644 index fd73f478ade..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PercentRank_IncPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PercentRank_IncPostRequestBody { - return new PercentRank_IncPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php deleted file mode 100644 index d5f8a1550a7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/percentRank_Inc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action percentRank_Inc - * @param PercentRank_IncPostRequestBody $body The request body - * @param PercentRank_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PercentRank_IncPostRequestBody $body, ?PercentRank_IncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action percentRank_Inc - * @param PercentRank_IncPostRequestBody $body The request body - * @param PercentRank_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PercentRank_IncPostRequestBody $body, ?PercentRank_IncRequestBuilderPostRequestConfiguration $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 PercentRank_IncRequestBuilder - */ - public function withUrl(string $rawUrl): PercentRank_IncRequestBuilder { - return new PercentRank_IncRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b3aa395d71d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php deleted file mode 100644 index fc94aa240c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Percentile_ExcPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Percentile_ExcPostRequestBody { - return new Percentile_ExcPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php deleted file mode 100644 index df2e7b9b6b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/percentile_Exc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action percentile_Exc - * @param Percentile_ExcPostRequestBody $body The request body - * @param Percentile_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Percentile_ExcPostRequestBody $body, ?Percentile_ExcRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action percentile_Exc - * @param Percentile_ExcPostRequestBody $body The request body - * @param Percentile_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Percentile_ExcPostRequestBody $body, ?Percentile_ExcRequestBuilderPostRequestConfiguration $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 Percentile_ExcRequestBuilder - */ - public function withUrl(string $rawUrl): Percentile_ExcRequestBuilder { - return new Percentile_ExcRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 210633122d6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php deleted file mode 100644 index e860ccf2963..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Percentile_IncPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Percentile_IncPostRequestBody { - return new Percentile_IncPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php deleted file mode 100644 index fcf792bf77e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/percentile_Inc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action percentile_Inc - * @param Percentile_IncPostRequestBody $body The request body - * @param Percentile_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Percentile_IncPostRequestBody $body, ?Percentile_IncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action percentile_Inc - * @param Percentile_IncPostRequestBody $body The request body - * @param Percentile_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Percentile_IncPostRequestBody $body, ?Percentile_IncRequestBuilderPostRequestConfiguration $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 Percentile_IncRequestBuilder - */ - public function withUrl(string $rawUrl): Percentile_IncRequestBuilder { - return new Percentile_IncRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fa45f8fd700..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php deleted file mode 100644 index b53749a1289..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PermutPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PermutPostRequestBody { - return new PermutPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php deleted file mode 100644 index 5c08447ade6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/permut'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action permut - * @param PermutPostRequestBody $body The request body - * @param PermutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PermutPostRequestBody $body, ?PermutRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action permut - * @param PermutPostRequestBody $body The request body - * @param PermutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PermutPostRequestBody $body, ?PermutRequestBuilderPostRequestConfiguration $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 PermutRequestBuilder - */ - public function withUrl(string $rawUrl): PermutRequestBuilder { - return new PermutRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c14b4edd388..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php deleted file mode 100644 index a24b1aac625..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PermutationaPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PermutationaPostRequestBody { - return new PermutationaPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php deleted file mode 100644 index f125378b7ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/permutationa'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action permutationa - * @param PermutationaPostRequestBody $body The request body - * @param PermutationaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PermutationaPostRequestBody $body, ?PermutationaRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action permutationa - * @param PermutationaPostRequestBody $body The request body - * @param PermutationaRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PermutationaPostRequestBody $body, ?PermutationaRequestBuilderPostRequestConfiguration $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 PermutationaRequestBuilder - */ - public function withUrl(string $rawUrl): PermutationaRequestBuilder { - return new PermutationaRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 63170dcbb85..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php deleted file mode 100644 index 9cc323fb9b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PhiPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PhiPostRequestBody { - return new PhiPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php deleted file mode 100644 index 04d81e6d090..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/phi'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action phi - * @param PhiPostRequestBody $body The request body - * @param PhiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PhiPostRequestBody $body, ?PhiRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action phi - * @param PhiPostRequestBody $body The request body - * @param PhiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PhiPostRequestBody $body, ?PhiRequestBuilderPostRequestConfiguration $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 PhiRequestBuilder - */ - public function withUrl(string $rawUrl): PhiRequestBuilder { - return new PhiRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5ed7ae143c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php deleted file mode 100644 index 44b6319f857..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/pi'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action pi - * @param PiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?PiRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action pi - * @param PiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?PiRequestBuilderPostRequestConfiguration $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"); - 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 PiRequestBuilder - */ - public function withUrl(string $rawUrl): PiRequestBuilder { - return new PiRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d989e58428e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pi/PiRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php deleted file mode 100644 index 4a67cbf4880..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PmtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PmtPostRequestBody { - return new PmtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php deleted file mode 100644 index b99ebfa4cf5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/pmt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action pmt - * @param PmtPostRequestBody $body The request body - * @param PmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PmtPostRequestBody $body, ?PmtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action pmt - * @param PmtPostRequestBody $body The request body - * @param PmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PmtPostRequestBody $body, ?PmtRequestBuilderPostRequestConfiguration $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 PmtRequestBuilder - */ - public function withUrl(string $rawUrl): PmtRequestBuilder { - return new PmtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b368a2620d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php deleted file mode 100644 index b24eab6d7e2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Poisson_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Poisson_DistPostRequestBody { - return new Poisson_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php deleted file mode 100644 index d116947814a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/poisson_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action poisson_Dist - * @param Poisson_DistPostRequestBody $body The request body - * @param Poisson_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Poisson_DistPostRequestBody $body, ?Poisson_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action poisson_Dist - * @param Poisson_DistPostRequestBody $body The request body - * @param Poisson_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Poisson_DistPostRequestBody $body, ?Poisson_DistRequestBuilderPostRequestConfiguration $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 Poisson_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Poisson_DistRequestBuilder { - return new Poisson_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cf003635092..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php deleted file mode 100644 index ddd3d991588..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PowerPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PowerPostRequestBody { - return new PowerPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php deleted file mode 100644 index 4bf3744baff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/power'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action power - * @param PowerPostRequestBody $body The request body - * @param PowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PowerPostRequestBody $body, ?PowerRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action power - * @param PowerPostRequestBody $body The request body - * @param PowerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PowerPostRequestBody $body, ?PowerRequestBuilderPostRequestConfiguration $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 PowerRequestBuilder - */ - public function withUrl(string $rawUrl): PowerRequestBuilder { - return new PowerRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3789197b76b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php deleted file mode 100644 index 30b8ba0e45b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PpmtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PpmtPostRequestBody { - return new PpmtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php deleted file mode 100644 index c9278cbbb57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/ppmt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action ppmt - * @param PpmtPostRequestBody $body The request body - * @param PpmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PpmtPostRequestBody $body, ?PpmtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action ppmt - * @param PpmtPostRequestBody $body The request body - * @param PpmtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PpmtPostRequestBody $body, ?PpmtRequestBuilderPostRequestConfiguration $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 PpmtRequestBuilder - */ - public function withUrl(string $rawUrl): PpmtRequestBuilder { - return new PpmtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 701eb66ab22..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php deleted file mode 100644 index 0fb37a2a605..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PricePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PricePostRequestBody { - return new PricePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php deleted file mode 100644 index b6f4b314c0b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/price'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action price - * @param PricePostRequestBody $body The request body - * @param PriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PricePostRequestBody $body, ?PriceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action price - * @param PricePostRequestBody $body The request body - * @param PriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PricePostRequestBody $body, ?PriceRequestBuilderPostRequestConfiguration $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 PriceRequestBuilder - */ - public function withUrl(string $rawUrl): PriceRequestBuilder { - return new PriceRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e4cbd4e28b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PriceRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php deleted file mode 100644 index 13c1f9ce26f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PriceDiscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PriceDiscPostRequestBody { - return new PriceDiscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php deleted file mode 100644 index 3852e2eadac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/priceDisc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action priceDisc - * @param PriceDiscPostRequestBody $body The request body - * @param PriceDiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PriceDiscPostRequestBody $body, ?PriceDiscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action priceDisc - * @param PriceDiscPostRequestBody $body The request body - * @param PriceDiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PriceDiscPostRequestBody $body, ?PriceDiscRequestBuilderPostRequestConfiguration $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 PriceDiscRequestBuilder - */ - public function withUrl(string $rawUrl): PriceDiscRequestBuilder { - return new PriceDiscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bf14e9bb83f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php deleted file mode 100644 index d7dd9b93758..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PriceMatPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PriceMatPostRequestBody { - return new PriceMatPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php deleted file mode 100644 index 8eefb64c508..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/priceMat'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action priceMat - * @param PriceMatPostRequestBody $body The request body - * @param PriceMatRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PriceMatPostRequestBody $body, ?PriceMatRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action priceMat - * @param PriceMatPostRequestBody $body The request body - * @param PriceMatRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PriceMatPostRequestBody $body, ?PriceMatRequestBuilderPostRequestConfiguration $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 PriceMatRequestBuilder - */ - public function withUrl(string $rawUrl): PriceMatRequestBuilder { - return new PriceMatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4b278a7cf7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php deleted file mode 100644 index 064aca6380b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ProductPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ProductPostRequestBody { - return new ProductPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php deleted file mode 100644 index 5eedc1b146a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/product'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action product - * @param ProductPostRequestBody $body The request body - * @param ProductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ProductPostRequestBody $body, ?ProductRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action product - * @param ProductPostRequestBody $body The request body - * @param ProductRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ProductPostRequestBody $body, ?ProductRequestBuilderPostRequestConfiguration $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 ProductRequestBuilder - */ - public function withUrl(string $rawUrl): ProductRequestBuilder { - return new ProductRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a293175d07b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php deleted file mode 100644 index 705e962f3f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ProperPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ProperPostRequestBody { - return new ProperPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php deleted file mode 100644 index ee3c2c136d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/proper'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action proper - * @param ProperPostRequestBody $body The request body - * @param ProperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ProperPostRequestBody $body, ?ProperRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action proper - * @param ProperPostRequestBody $body The request body - * @param ProperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ProperPostRequestBody $body, ?ProperRequestBuilderPostRequestConfiguration $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 ProperRequestBuilder - */ - public function withUrl(string $rawUrl): ProperRequestBuilder { - return new ProperRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8d0d35683a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php deleted file mode 100644 index 27f6bfe2675..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return PvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): PvPostRequestBody { - return new PvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php deleted file mode 100644 index bfdb6bc2afb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/pv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action pv - * @param PvPostRequestBody $body The request body - * @param PvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(PvPostRequestBody $body, ?PvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action pv - * @param PvPostRequestBody $body The request body - * @param PvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(PvPostRequestBody $body, ?PvRequestBuilderPostRequestConfiguration $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 PvRequestBuilder - */ - public function withUrl(string $rawUrl): PvRequestBuilder { - return new PvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b8d818717f1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php deleted file mode 100644 index 4104c0130fc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Quartile_ExcPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Quartile_ExcPostRequestBody { - return new Quartile_ExcPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php deleted file mode 100644 index c8badb46deb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/quartile_Exc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action quartile_Exc - * @param Quartile_ExcPostRequestBody $body The request body - * @param Quartile_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Quartile_ExcPostRequestBody $body, ?Quartile_ExcRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action quartile_Exc - * @param Quartile_ExcPostRequestBody $body The request body - * @param Quartile_ExcRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Quartile_ExcPostRequestBody $body, ?Quartile_ExcRequestBuilderPostRequestConfiguration $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 Quartile_ExcRequestBuilder - */ - public function withUrl(string $rawUrl): Quartile_ExcRequestBuilder { - return new Quartile_ExcRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9e537a94a28..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php deleted file mode 100644 index 96b8b51ab8b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Quartile_IncPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Quartile_IncPostRequestBody { - return new Quartile_IncPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php deleted file mode 100644 index b849dfe66e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/quartile_Inc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action quartile_Inc - * @param Quartile_IncPostRequestBody $body The request body - * @param Quartile_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Quartile_IncPostRequestBody $body, ?Quartile_IncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action quartile_Inc - * @param Quartile_IncPostRequestBody $body The request body - * @param Quartile_IncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Quartile_IncPostRequestBody $body, ?Quartile_IncRequestBuilderPostRequestConfiguration $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 Quartile_IncRequestBuilder - */ - public function withUrl(string $rawUrl): Quartile_IncRequestBuilder { - return new Quartile_IncRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1fff59d3e42..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php deleted file mode 100644 index 20b2a0c65f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return QuotientPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): QuotientPostRequestBody { - return new QuotientPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php deleted file mode 100644 index 1ac0a092c3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/quotient'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action quotient - * @param QuotientPostRequestBody $body The request body - * @param QuotientRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(QuotientPostRequestBody $body, ?QuotientRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action quotient - * @param QuotientPostRequestBody $body The request body - * @param QuotientRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(QuotientPostRequestBody $body, ?QuotientRequestBuilderPostRequestConfiguration $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 QuotientRequestBuilder - */ - public function withUrl(string $rawUrl): QuotientRequestBuilder { - return new QuotientRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9a1deb5e233..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php deleted file mode 100644 index ba96e627125..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RadiansPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RadiansPostRequestBody { - return new RadiansPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php deleted file mode 100644 index 2c8d3406b48..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/radians'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action radians - * @param RadiansPostRequestBody $body The request body - * @param RadiansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RadiansPostRequestBody $body, ?RadiansRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action radians - * @param RadiansPostRequestBody $body The request body - * @param RadiansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RadiansPostRequestBody $body, ?RadiansRequestBuilderPostRequestConfiguration $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 RadiansRequestBuilder - */ - public function withUrl(string $rawUrl): RadiansRequestBuilder { - return new RadiansRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9a42336f599..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php deleted file mode 100644 index 1cfddfc8fae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rand'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rand - * @param RandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?RandRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rand - * @param RandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RandRequestBuilderPostRequestConfiguration $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"); - 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 RandRequestBuilder - */ - public function withUrl(string $rawUrl): RandRequestBuilder { - return new RandRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 15bae27b8f1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rand/RandRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php deleted file mode 100644 index d5568a5c1e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RandBetweenPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RandBetweenPostRequestBody { - return new RandBetweenPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php deleted file mode 100644 index e61508ddaed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/randBetween'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action randBetween - * @param RandBetweenPostRequestBody $body The request body - * @param RandBetweenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RandBetweenPostRequestBody $body, ?RandBetweenRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action randBetween - * @param RandBetweenPostRequestBody $body The request body - * @param RandBetweenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RandBetweenPostRequestBody $body, ?RandBetweenRequestBuilderPostRequestConfiguration $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 RandBetweenRequestBuilder - */ - public function withUrl(string $rawUrl): RandBetweenRequestBuilder { - return new RandBetweenRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c106fa947f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php deleted file mode 100644 index 5fea47bc122..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Rank_AvgPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Rank_AvgPostRequestBody { - return new Rank_AvgPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php deleted file mode 100644 index 4763468a5c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rank_Avg'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rank_Avg - * @param Rank_AvgPostRequestBody $body The request body - * @param Rank_AvgRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Rank_AvgPostRequestBody $body, ?Rank_AvgRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rank_Avg - * @param Rank_AvgPostRequestBody $body The request body - * @param Rank_AvgRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Rank_AvgPostRequestBody $body, ?Rank_AvgRequestBuilderPostRequestConfiguration $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 Rank_AvgRequestBuilder - */ - public function withUrl(string $rawUrl): Rank_AvgRequestBuilder { - return new Rank_AvgRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9d070722227..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php deleted file mode 100644 index f094e9bf873..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Rank_EqPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Rank_EqPostRequestBody { - return new Rank_EqPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php deleted file mode 100644 index 7c214ac9419..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rank_Eq'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rank_Eq - * @param Rank_EqPostRequestBody $body The request body - * @param Rank_EqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Rank_EqPostRequestBody $body, ?Rank_EqRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rank_Eq - * @param Rank_EqPostRequestBody $body The request body - * @param Rank_EqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Rank_EqPostRequestBody $body, ?Rank_EqRequestBuilderPostRequestConfiguration $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 Rank_EqRequestBuilder - */ - public function withUrl(string $rawUrl): Rank_EqRequestBuilder { - return new Rank_EqRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c66d0bb67ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php deleted file mode 100644 index 52941070a47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RatePostRequestBody { - return new RatePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php deleted file mode 100644 index 9f953e24e57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rate'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rate - * @param RatePostRequestBody $body The request body - * @param RateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RatePostRequestBody $body, ?RateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rate - * @param RatePostRequestBody $body The request body - * @param RateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RatePostRequestBody $body, ?RateRequestBuilderPostRequestConfiguration $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 RateRequestBuilder - */ - public function withUrl(string $rawUrl): RateRequestBuilder { - return new RateRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 92f0207dcda..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RateRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php deleted file mode 100644 index a8586cf4fa3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ReceivedPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ReceivedPostRequestBody { - return new ReceivedPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php deleted file mode 100644 index 7caa4bc003a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/received'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action received - * @param ReceivedPostRequestBody $body The request body - * @param ReceivedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ReceivedPostRequestBody $body, ?ReceivedRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action received - * @param ReceivedPostRequestBody $body The request body - * @param ReceivedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ReceivedPostRequestBody $body, ?ReceivedRequestBuilderPostRequestConfiguration $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 ReceivedRequestBuilder - */ - public function withUrl(string $rawUrl): ReceivedRequestBuilder { - return new ReceivedRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d3543f9917b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php deleted file mode 100644 index eb731cd1916..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ReplacePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ReplacePostRequestBody { - return new ReplacePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php deleted file mode 100644 index 7f9ab8ba072..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/replace'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action replace - * @param ReplacePostRequestBody $body The request body - * @param ReplaceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ReplacePostRequestBody $body, ?ReplaceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action replace - * @param ReplacePostRequestBody $body The request body - * @param ReplaceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ReplacePostRequestBody $body, ?ReplaceRequestBuilderPostRequestConfiguration $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 ReplaceRequestBuilder - */ - public function withUrl(string $rawUrl): ReplaceRequestBuilder { - return new ReplaceRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ed86501e408..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php deleted file mode 100644 index b0ac0602de1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ReplaceBPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ReplaceBPostRequestBody { - return new ReplaceBPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php deleted file mode 100644 index b1634b6ddde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/replaceB'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action replaceB - * @param ReplaceBPostRequestBody $body The request body - * @param ReplaceBRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ReplaceBPostRequestBody $body, ?ReplaceBRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action replaceB - * @param ReplaceBPostRequestBody $body The request body - * @param ReplaceBRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ReplaceBPostRequestBody $body, ?ReplaceBRequestBuilderPostRequestConfiguration $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 ReplaceBRequestBuilder - */ - public function withUrl(string $rawUrl): ReplaceBRequestBuilder { - return new ReplaceBRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3bf1fb339e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php deleted file mode 100644 index 393f439311d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ReptPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ReptPostRequestBody { - return new ReptPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php deleted file mode 100644 index 17e48f8651d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rept'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rept - * @param ReptPostRequestBody $body The request body - * @param ReptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ReptPostRequestBody $body, ?ReptRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rept - * @param ReptPostRequestBody $body The request body - * @param ReptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ReptPostRequestBody $body, ?ReptRequestBuilderPostRequestConfiguration $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 ReptRequestBuilder - */ - public function withUrl(string $rawUrl): ReptRequestBuilder { - return new ReptRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8ec80ab4c56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php deleted file mode 100644 index 7d05dd30d2c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RightPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RightPostRequestBody { - return new RightPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php deleted file mode 100644 index 25dd1894aa6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/right'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action right - * @param RightPostRequestBody $body The request body - * @param RightRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RightPostRequestBody $body, ?RightRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action right - * @param RightPostRequestBody $body The request body - * @param RightRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RightPostRequestBody $body, ?RightRequestBuilderPostRequestConfiguration $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 RightRequestBuilder - */ - public function withUrl(string $rawUrl): RightRequestBuilder { - return new RightRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c29dc919c97..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php deleted file mode 100644 index 843f35b0fe7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RightbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RightbPostRequestBody { - return new RightbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php deleted file mode 100644 index f7ed8b4e6f5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rightb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rightb - * @param RightbPostRequestBody $body The request body - * @param RightbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RightbPostRequestBody $body, ?RightbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rightb - * @param RightbPostRequestBody $body The request body - * @param RightbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RightbPostRequestBody $body, ?RightbRequestBuilderPostRequestConfiguration $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 RightbRequestBuilder - */ - public function withUrl(string $rawUrl): RightbRequestBuilder { - return new RightbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b9551baa77f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php deleted file mode 100644 index 4531c3444d1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RomanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RomanPostRequestBody { - return new RomanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php deleted file mode 100644 index b46e83c65d6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/roman'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action roman - * @param RomanPostRequestBody $body The request body - * @param RomanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RomanPostRequestBody $body, ?RomanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action roman - * @param RomanPostRequestBody $body The request body - * @param RomanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RomanPostRequestBody $body, ?RomanRequestBuilderPostRequestConfiguration $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 RomanRequestBuilder - */ - public function withUrl(string $rawUrl): RomanRequestBuilder { - return new RomanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b1afd17b35e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php deleted file mode 100644 index 90c77fdf8e2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RoundPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RoundPostRequestBody { - return new RoundPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php deleted file mode 100644 index 9714ef797e3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/round'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action round - * @param RoundPostRequestBody $body The request body - * @param RoundRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RoundPostRequestBody $body, ?RoundRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action round - * @param RoundPostRequestBody $body The request body - * @param RoundRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RoundPostRequestBody $body, ?RoundRequestBuilderPostRequestConfiguration $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 RoundRequestBuilder - */ - public function withUrl(string $rawUrl): RoundRequestBuilder { - return new RoundRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 064c090d4bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php deleted file mode 100644 index 41458074d53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RoundDownPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RoundDownPostRequestBody { - return new RoundDownPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php deleted file mode 100644 index 979bd200b47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/roundDown'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action roundDown - * @param RoundDownPostRequestBody $body The request body - * @param RoundDownRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RoundDownPostRequestBody $body, ?RoundDownRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action roundDown - * @param RoundDownPostRequestBody $body The request body - * @param RoundDownRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RoundDownPostRequestBody $body, ?RoundDownRequestBuilderPostRequestConfiguration $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 RoundDownRequestBuilder - */ - public function withUrl(string $rawUrl): RoundDownRequestBuilder { - return new RoundDownRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2e6a9a4580c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php deleted file mode 100644 index 0bc925acb7b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RoundUpPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RoundUpPostRequestBody { - return new RoundUpPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php deleted file mode 100644 index d560234a039..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/roundUp'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action roundUp - * @param RoundUpPostRequestBody $body The request body - * @param RoundUpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RoundUpPostRequestBody $body, ?RoundUpRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action roundUp - * @param RoundUpPostRequestBody $body The request body - * @param RoundUpRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RoundUpPostRequestBody $body, ?RoundUpRequestBuilderPostRequestConfiguration $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 RoundUpRequestBuilder - */ - public function withUrl(string $rawUrl): RoundUpRequestBuilder { - return new RoundUpRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f3e357af00a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php deleted file mode 100644 index 1c1522be8df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RowsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RowsPostRequestBody { - return new RowsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php deleted file mode 100644 index 4c6b92caa18..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rows'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rows - * @param RowsPostRequestBody $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RowsPostRequestBody $body, ?RowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rows - * @param RowsPostRequestBody $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RowsPostRequestBody $body, ?RowsRequestBuilderPostRequestConfiguration $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 RowsRequestBuilder - */ - public function withUrl(string $rawUrl): RowsRequestBuilder { - return new RowsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b858d60b1a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php deleted file mode 100644 index 968f18dc412..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return RriPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): RriPostRequestBody { - return new RriPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php deleted file mode 100644 index 67a494d251c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/rri'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action rri - * @param RriPostRequestBody $body The request body - * @param RriRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(RriPostRequestBody $body, ?RriRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action rri - * @param RriPostRequestBody $body The request body - * @param RriRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(RriPostRequestBody $body, ?RriRequestBuilderPostRequestConfiguration $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 RriRequestBuilder - */ - public function withUrl(string $rawUrl): RriRequestBuilder { - return new RriRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f7aad9f9505..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php deleted file mode 100644 index aa605743c78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SecPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SecPostRequestBody { - return new SecPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php deleted file mode 100644 index a78d7656be3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sec'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sec - * @param SecPostRequestBody $body The request body - * @param SecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SecPostRequestBody $body, ?SecRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sec - * @param SecPostRequestBody $body The request body - * @param SecRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SecPostRequestBody $body, ?SecRequestBuilderPostRequestConfiguration $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 SecRequestBuilder - */ - public function withUrl(string $rawUrl): SecRequestBuilder { - return new SecRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 66e0eb97a48..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php deleted file mode 100644 index bb51e15c0e9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SechPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SechPostRequestBody { - return new SechPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php deleted file mode 100644 index aff0c580941..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sech'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sech - * @param SechPostRequestBody $body The request body - * @param SechRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SechPostRequestBody $body, ?SechRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sech - * @param SechPostRequestBody $body The request body - * @param SechRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SechPostRequestBody $body, ?SechRequestBuilderPostRequestConfiguration $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 SechRequestBuilder - */ - public function withUrl(string $rawUrl): SechRequestBuilder { - return new SechRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4d7eea8a6b1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php deleted file mode 100644 index 4887ccaef86..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SecondPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SecondPostRequestBody { - return new SecondPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php deleted file mode 100644 index ed2dd76afd8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/second'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action second - * @param SecondPostRequestBody $body The request body - * @param SecondRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SecondPostRequestBody $body, ?SecondRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action second - * @param SecondPostRequestBody $body The request body - * @param SecondRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SecondPostRequestBody $body, ?SecondRequestBuilderPostRequestConfiguration $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 SecondRequestBuilder - */ - public function withUrl(string $rawUrl): SecondRequestBuilder { - return new SecondRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bd00a95cad1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php deleted file mode 100644 index 195ebafce00..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SeriesSumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SeriesSumPostRequestBody { - return new SeriesSumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php deleted file mode 100644 index d521040a467..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/seriesSum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action seriesSum - * @param SeriesSumPostRequestBody $body The request body - * @param SeriesSumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SeriesSumPostRequestBody $body, ?SeriesSumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action seriesSum - * @param SeriesSumPostRequestBody $body The request body - * @param SeriesSumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SeriesSumPostRequestBody $body, ?SeriesSumRequestBuilderPostRequestConfiguration $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 SeriesSumRequestBuilder - */ - public function withUrl(string $rawUrl): SeriesSumRequestBuilder { - return new SeriesSumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b605658674..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php deleted file mode 100644 index c9e127c4826..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SheetPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SheetPostRequestBody { - return new SheetPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php deleted file mode 100644 index ed79f0624de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sheet'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sheet - * @param SheetPostRequestBody $body The request body - * @param SheetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SheetPostRequestBody $body, ?SheetRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sheet - * @param SheetPostRequestBody $body The request body - * @param SheetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SheetPostRequestBody $body, ?SheetRequestBuilderPostRequestConfiguration $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 SheetRequestBuilder - */ - public function withUrl(string $rawUrl): SheetRequestBuilder { - return new SheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 780a890d10e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php deleted file mode 100644 index fceb66ac700..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SheetsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SheetsPostRequestBody { - return new SheetsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php deleted file mode 100644 index 8f00ee07e57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sheets'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sheets - * @param SheetsPostRequestBody $body The request body - * @param SheetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SheetsPostRequestBody $body, ?SheetsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sheets - * @param SheetsPostRequestBody $body The request body - * @param SheetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SheetsPostRequestBody $body, ?SheetsRequestBuilderPostRequestConfiguration $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 SheetsRequestBuilder - */ - public function withUrl(string $rawUrl): SheetsRequestBuilder { - return new SheetsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ffbce267e6d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php deleted file mode 100644 index 948998d4510..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SignPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SignPostRequestBody { - return new SignPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php deleted file mode 100644 index 9a09c43a88f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sign'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sign - * @param SignPostRequestBody $body The request body - * @param SignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SignPostRequestBody $body, ?SignRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sign - * @param SignPostRequestBody $body The request body - * @param SignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SignPostRequestBody $body, ?SignRequestBuilderPostRequestConfiguration $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 SignRequestBuilder - */ - public function withUrl(string $rawUrl): SignRequestBuilder { - return new SignRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 83d46dab4cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php deleted file mode 100644 index 19e70d8373f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SinPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SinPostRequestBody { - return new SinPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php deleted file mode 100644 index 0f1591523e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sin'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sin - * @param SinPostRequestBody $body The request body - * @param SinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SinPostRequestBody $body, ?SinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sin - * @param SinPostRequestBody $body The request body - * @param SinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SinPostRequestBody $body, ?SinRequestBuilderPostRequestConfiguration $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 SinRequestBuilder - */ - public function withUrl(string $rawUrl): SinRequestBuilder { - return new SinRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8cfb4a2ddb4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php deleted file mode 100644 index 46c1598b7a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SinhPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SinhPostRequestBody { - return new SinhPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php deleted file mode 100644 index b3351510e46..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sinh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sinh - * @param SinhPostRequestBody $body The request body - * @param SinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SinhPostRequestBody $body, ?SinhRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sinh - * @param SinhPostRequestBody $body The request body - * @param SinhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SinhPostRequestBody $body, ?SinhRequestBuilderPostRequestConfiguration $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 SinhRequestBuilder - */ - public function withUrl(string $rawUrl): SinhRequestBuilder { - return new SinhRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 912bca6c3fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php deleted file mode 100644 index ae8c6d2207f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SkewPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SkewPostRequestBody { - return new SkewPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php deleted file mode 100644 index db521283039..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/skew'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action skew - * @param SkewPostRequestBody $body The request body - * @param SkewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SkewPostRequestBody $body, ?SkewRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action skew - * @param SkewPostRequestBody $body The request body - * @param SkewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SkewPostRequestBody $body, ?SkewRequestBuilderPostRequestConfiguration $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 SkewRequestBuilder - */ - public function withUrl(string $rawUrl): SkewRequestBuilder { - return new SkewRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2fdd1e00d5f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php deleted file mode 100644 index 0134d07a1f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Skew_pPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Skew_pPostRequestBody { - return new Skew_pPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php deleted file mode 100644 index f38bcc44140..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/skew_p'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action skew_p - * @param Skew_pPostRequestBody $body The request body - * @param Skew_pRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Skew_pPostRequestBody $body, ?Skew_pRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action skew_p - * @param Skew_pPostRequestBody $body The request body - * @param Skew_pRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Skew_pPostRequestBody $body, ?Skew_pRequestBuilderPostRequestConfiguration $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 Skew_pRequestBuilder - */ - public function withUrl(string $rawUrl): Skew_pRequestBuilder { - return new Skew_pRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 52034731753..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php deleted file mode 100644 index 3967af80a6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SlnPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SlnPostRequestBody { - return new SlnPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php deleted file mode 100644 index b241ec3f8bd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sln'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sln - * @param SlnPostRequestBody $body The request body - * @param SlnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SlnPostRequestBody $body, ?SlnRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sln - * @param SlnPostRequestBody $body The request body - * @param SlnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SlnPostRequestBody $body, ?SlnRequestBuilderPostRequestConfiguration $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 SlnRequestBuilder - */ - public function withUrl(string $rawUrl): SlnRequestBuilder { - return new SlnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cd506461b24..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php deleted file mode 100644 index ea0cdb73cd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SmallPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SmallPostRequestBody { - return new SmallPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php deleted file mode 100644 index 1fc59f1edcd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/small'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action small - * @param SmallPostRequestBody $body The request body - * @param SmallRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SmallPostRequestBody $body, ?SmallRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action small - * @param SmallPostRequestBody $body The request body - * @param SmallRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SmallPostRequestBody $body, ?SmallRequestBuilderPostRequestConfiguration $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 SmallRequestBuilder - */ - public function withUrl(string $rawUrl): SmallRequestBuilder { - return new SmallRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e3ffd754376..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php deleted file mode 100644 index 438696e9282..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SqrtPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SqrtPostRequestBody { - return new SqrtPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php deleted file mode 100644 index 4bdc37ed141..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sqrt'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sqrt - * @param SqrtPostRequestBody $body The request body - * @param SqrtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SqrtPostRequestBody $body, ?SqrtRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sqrt - * @param SqrtPostRequestBody $body The request body - * @param SqrtRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SqrtPostRequestBody $body, ?SqrtRequestBuilderPostRequestConfiguration $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 SqrtRequestBuilder - */ - public function withUrl(string $rawUrl): SqrtRequestBuilder { - return new SqrtRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5f581d0601e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php deleted file mode 100644 index c8e8631925a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SqrtPiPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SqrtPiPostRequestBody { - return new SqrtPiPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php deleted file mode 100644 index 3018b398f66..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sqrtPi'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sqrtPi - * @param SqrtPiPostRequestBody $body The request body - * @param SqrtPiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SqrtPiPostRequestBody $body, ?SqrtPiRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sqrtPi - * @param SqrtPiPostRequestBody $body The request body - * @param SqrtPiRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SqrtPiPostRequestBody $body, ?SqrtPiRequestBuilderPostRequestConfiguration $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 SqrtPiRequestBuilder - */ - public function withUrl(string $rawUrl): SqrtPiRequestBuilder { - return new SqrtPiRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1b8c6e4586a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php deleted file mode 100644 index 1fa37ac98ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return StDevAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): StDevAPostRequestBody { - return new StDevAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php deleted file mode 100644 index 65c5cefb523..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/stDevA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action stDevA - * @param StDevAPostRequestBody $body The request body - * @param StDevARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(StDevAPostRequestBody $body, ?StDevARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action stDevA - * @param StDevAPostRequestBody $body The request body - * @param StDevARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(StDevAPostRequestBody $body, ?StDevARequestBuilderPostRequestConfiguration $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 StDevARequestBuilder - */ - public function withUrl(string $rawUrl): StDevARequestBuilder { - return new StDevARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 30b6bef630c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php deleted file mode 100644 index ad5e7ab7019..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return StDevPAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): StDevPAPostRequestBody { - return new StDevPAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php deleted file mode 100644 index c9575ec6551..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/stDevPA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action stDevPA - * @param StDevPAPostRequestBody $body The request body - * @param StDevPARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(StDevPAPostRequestBody $body, ?StDevPARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action stDevPA - * @param StDevPAPostRequestBody $body The request body - * @param StDevPARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(StDevPAPostRequestBody $body, ?StDevPARequestBuilderPostRequestConfiguration $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 StDevPARequestBuilder - */ - public function withUrl(string $rawUrl): StDevPARequestBuilder { - return new StDevPARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 175c51ebcff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php deleted file mode 100644 index c2e54d5955e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return StDev_PPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): StDev_PPostRequestBody { - return new StDev_PPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php deleted file mode 100644 index a64109b32bf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/stDev_P'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action stDev_P - * @param StDev_PPostRequestBody $body The request body - * @param StDev_PRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(StDev_PPostRequestBody $body, ?StDev_PRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action stDev_P - * @param StDev_PPostRequestBody $body The request body - * @param StDev_PRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(StDev_PPostRequestBody $body, ?StDev_PRequestBuilderPostRequestConfiguration $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 StDev_PRequestBuilder - */ - public function withUrl(string $rawUrl): StDev_PRequestBuilder { - return new StDev_PRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 416cddb4028..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php deleted file mode 100644 index 5be222b2625..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return StDev_SPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): StDev_SPostRequestBody { - return new StDev_SPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php deleted file mode 100644 index 9d258fe49bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/stDev_S'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action stDev_S - * @param StDev_SPostRequestBody $body The request body - * @param StDev_SRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(StDev_SPostRequestBody $body, ?StDev_SRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action stDev_S - * @param StDev_SPostRequestBody $body The request body - * @param StDev_SRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(StDev_SPostRequestBody $body, ?StDev_SRequestBuilderPostRequestConfiguration $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 StDev_SRequestBuilder - */ - public function withUrl(string $rawUrl): StDev_SRequestBuilder { - return new StDev_SRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 29ecdc71277..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php deleted file mode 100644 index 2ecf67bd154..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return StandardizePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): StandardizePostRequestBody { - return new StandardizePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php deleted file mode 100644 index ad7a0bd8e60..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/standardize'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action standardize - * @param StandardizePostRequestBody $body The request body - * @param StandardizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(StandardizePostRequestBody $body, ?StandardizeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action standardize - * @param StandardizePostRequestBody $body The request body - * @param StandardizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(StandardizePostRequestBody $body, ?StandardizeRequestBuilderPostRequestConfiguration $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 StandardizeRequestBuilder - */ - public function withUrl(string $rawUrl): StandardizeRequestBuilder { - return new StandardizeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3a21e6d3ac1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php deleted file mode 100644 index ba315f4cadc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SubstitutePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SubstitutePostRequestBody { - return new SubstitutePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php deleted file mode 100644 index eea05327cfa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/substitute'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action substitute - * @param SubstitutePostRequestBody $body The request body - * @param SubstituteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SubstitutePostRequestBody $body, ?SubstituteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action substitute - * @param SubstitutePostRequestBody $body The request body - * @param SubstituteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SubstitutePostRequestBody $body, ?SubstituteRequestBuilderPostRequestConfiguration $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 SubstituteRequestBuilder - */ - public function withUrl(string $rawUrl): SubstituteRequestBuilder { - return new SubstituteRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3490fdc0950..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php deleted file mode 100644 index c780ca04ae6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SubtotalPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SubtotalPostRequestBody { - return new SubtotalPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php deleted file mode 100644 index 2bc9d5b97bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/subtotal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action subtotal - * @param SubtotalPostRequestBody $body The request body - * @param SubtotalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SubtotalPostRequestBody $body, ?SubtotalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action subtotal - * @param SubtotalPostRequestBody $body The request body - * @param SubtotalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SubtotalPostRequestBody $body, ?SubtotalRequestBuilderPostRequestConfiguration $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 SubtotalRequestBuilder - */ - public function withUrl(string $rawUrl): SubtotalRequestBuilder { - return new SubtotalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e030079646e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php deleted file mode 100644 index d6b3f0c7ae0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SumPostRequestBody { - return new SumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php deleted file mode 100644 index dafe34ac981..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sum - * @param SumPostRequestBody $body The request body - * @param SumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SumPostRequestBody $body, ?SumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sum - * @param SumPostRequestBody $body The request body - * @param SumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SumPostRequestBody $body, ?SumRequestBuilderPostRequestConfiguration $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 SumRequestBuilder - */ - public function withUrl(string $rawUrl): SumRequestBuilder { - return new SumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 81329004ee0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php deleted file mode 100644 index 1982160d1cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SumIfPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SumIfPostRequestBody { - return new SumIfPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php deleted file mode 100644 index f594d771a2a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sumIf'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sumIf - * @param SumIfPostRequestBody $body The request body - * @param SumIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SumIfPostRequestBody $body, ?SumIfRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sumIf - * @param SumIfPostRequestBody $body The request body - * @param SumIfRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SumIfPostRequestBody $body, ?SumIfRequestBuilderPostRequestConfiguration $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 SumIfRequestBuilder - */ - public function withUrl(string $rawUrl): SumIfRequestBuilder { - return new SumIfRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f7369bcbbca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php deleted file mode 100644 index c61e5ecf039..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SumIfsPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SumIfsPostRequestBody { - return new SumIfsPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php deleted file mode 100644 index 37bf12f1c83..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sumIfs'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sumIfs - * @param SumIfsPostRequestBody $body The request body - * @param SumIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SumIfsPostRequestBody $body, ?SumIfsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sumIfs - * @param SumIfsPostRequestBody $body The request body - * @param SumIfsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SumIfsPostRequestBody $body, ?SumIfsRequestBuilderPostRequestConfiguration $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 SumIfsRequestBuilder - */ - public function withUrl(string $rawUrl): SumIfsRequestBuilder { - return new SumIfsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 342ebe5aa54..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php deleted file mode 100644 index a032d3dd8c7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SumSqPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SumSqPostRequestBody { - return new SumSqPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php deleted file mode 100644 index c8c9f30b370..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/sumSq'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action sumSq - * @param SumSqPostRequestBody $body The request body - * @param SumSqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SumSqPostRequestBody $body, ?SumSqRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action sumSq - * @param SumSqPostRequestBody $body The request body - * @param SumSqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SumSqPostRequestBody $body, ?SumSqRequestBuilderPostRequestConfiguration $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 SumSqRequestBuilder - */ - public function withUrl(string $rawUrl): SumSqRequestBuilder { - return new SumSqRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4c757c0898d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php deleted file mode 100644 index 2eb3dc31d78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SydPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SydPostRequestBody { - return new SydPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php deleted file mode 100644 index d3fdd93afe9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/syd'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action syd - * @param SydPostRequestBody $body The request body - * @param SydRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(SydPostRequestBody $body, ?SydRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action syd - * @param SydPostRequestBody $body The request body - * @param SydRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SydPostRequestBody $body, ?SydRequestBuilderPostRequestConfiguration $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 SydRequestBuilder - */ - public function withUrl(string $rawUrl): SydRequestBuilder { - return new SydRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c1e269fc9a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php deleted file mode 100644 index 5ae77c43a56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TPostRequestBody { - return new TPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilder.php deleted file mode 100644 index f7ea00eddf4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t - * @param TPostRequestBody $body The request body - * @param TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TPostRequestBody $body, ?TRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t - * @param TPostRequestBody $body The request body - * @param TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TPostRequestBody $body, ?TRequestBuilderPostRequestConfiguration $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 TRequestBuilder - */ - public function withUrl(string $rawUrl): TRequestBuilder { - return new TRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f3a0c3620f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php deleted file mode 100644 index 20dc00a4eb3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return T_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): T_DistPostRequestBody { - return new T_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php deleted file mode 100644 index bc001ae446a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t_Dist - * @param T_DistPostRequestBody $body The request body - * @param T_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(T_DistPostRequestBody $body, ?T_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t_Dist - * @param T_DistPostRequestBody $body The request body - * @param T_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(T_DistPostRequestBody $body, ?T_DistRequestBuilderPostRequestConfiguration $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 T_DistRequestBuilder - */ - public function withUrl(string $rawUrl): T_DistRequestBuilder { - return new T_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ca89ff11227..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php deleted file mode 100644 index b9d2e15ded1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return T_Dist_2TPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): T_Dist_2TPostRequestBody { - return new T_Dist_2TPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php deleted file mode 100644 index d6971662e53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t_Dist_2T'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t_Dist_2T - * @param T_Dist_2TPostRequestBody $body The request body - * @param T_Dist_2TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(T_Dist_2TPostRequestBody $body, ?T_Dist_2TRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t_Dist_2T - * @param T_Dist_2TPostRequestBody $body The request body - * @param T_Dist_2TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(T_Dist_2TPostRequestBody $body, ?T_Dist_2TRequestBuilderPostRequestConfiguration $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 T_Dist_2TRequestBuilder - */ - public function withUrl(string $rawUrl): T_Dist_2TRequestBuilder { - return new T_Dist_2TRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 69e76255d24..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php deleted file mode 100644 index cf4c40b2261..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return T_Dist_RTPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): T_Dist_RTPostRequestBody { - return new T_Dist_RTPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php deleted file mode 100644 index a29138cffa5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t_Dist_RT'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t_Dist_RT - * @param T_Dist_RTPostRequestBody $body The request body - * @param T_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(T_Dist_RTPostRequestBody $body, ?T_Dist_RTRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t_Dist_RT - * @param T_Dist_RTPostRequestBody $body The request body - * @param T_Dist_RTRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(T_Dist_RTPostRequestBody $body, ?T_Dist_RTRequestBuilderPostRequestConfiguration $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 T_Dist_RTRequestBuilder - */ - public function withUrl(string $rawUrl): T_Dist_RTRequestBuilder { - return new T_Dist_RTRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e9d541caada..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php deleted file mode 100644 index 7ad7fdaa2cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return T_InvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): T_InvPostRequestBody { - return new T_InvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php deleted file mode 100644 index 212e087487f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t_Inv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t_Inv - * @param T_InvPostRequestBody $body The request body - * @param T_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(T_InvPostRequestBody $body, ?T_InvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t_Inv - * @param T_InvPostRequestBody $body The request body - * @param T_InvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(T_InvPostRequestBody $body, ?T_InvRequestBuilderPostRequestConfiguration $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 T_InvRequestBuilder - */ - public function withUrl(string $rawUrl): T_InvRequestBuilder { - return new T_InvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ab1b43733c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php deleted file mode 100644 index 78607a3850c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return T_Inv_2TPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): T_Inv_2TPostRequestBody { - return new T_Inv_2TPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php deleted file mode 100644 index 8948265b9ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/t_Inv_2T'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action t_Inv_2T - * @param T_Inv_2TPostRequestBody $body The request body - * @param T_Inv_2TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(T_Inv_2TPostRequestBody $body, ?T_Inv_2TRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action t_Inv_2T - * @param T_Inv_2TPostRequestBody $body The request body - * @param T_Inv_2TRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(T_Inv_2TPostRequestBody $body, ?T_Inv_2TRequestBuilderPostRequestConfiguration $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 T_Inv_2TRequestBuilder - */ - public function withUrl(string $rawUrl): T_Inv_2TRequestBuilder { - return new T_Inv_2TRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e2fec0caf30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php deleted file mode 100644 index 7a6fc44592d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TanPostRequestBody { - return new TanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php deleted file mode 100644 index f8129e6f382..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/tan'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action tan - * @param TanPostRequestBody $body The request body - * @param TanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TanPostRequestBody $body, ?TanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action tan - * @param TanPostRequestBody $body The request body - * @param TanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TanPostRequestBody $body, ?TanRequestBuilderPostRequestConfiguration $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 TanRequestBuilder - */ - public function withUrl(string $rawUrl): TanRequestBuilder { - return new TanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c8b9def1799..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php deleted file mode 100644 index ab82428623c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TanhPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TanhPostRequestBody { - return new TanhPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php deleted file mode 100644 index fce951e0088..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/tanh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action tanh - * @param TanhPostRequestBody $body The request body - * @param TanhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TanhPostRequestBody $body, ?TanhRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action tanh - * @param TanhPostRequestBody $body The request body - * @param TanhRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TanhPostRequestBody $body, ?TanhRequestBuilderPostRequestConfiguration $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 TanhRequestBuilder - */ - public function withUrl(string $rawUrl): TanhRequestBuilder { - return new TanhRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6ef3375cf56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php deleted file mode 100644 index 710f2fe6b88..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TbillEqPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TbillEqPostRequestBody { - return new TbillEqPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php deleted file mode 100644 index bf02dbacb5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/tbillEq'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action tbillEq - * @param TbillEqPostRequestBody $body The request body - * @param TbillEqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TbillEqPostRequestBody $body, ?TbillEqRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action tbillEq - * @param TbillEqPostRequestBody $body The request body - * @param TbillEqRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TbillEqPostRequestBody $body, ?TbillEqRequestBuilderPostRequestConfiguration $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 TbillEqRequestBuilder - */ - public function withUrl(string $rawUrl): TbillEqRequestBuilder { - return new TbillEqRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 191b6a01ba7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php deleted file mode 100644 index 070c4bbc42b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TbillPricePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TbillPricePostRequestBody { - return new TbillPricePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php deleted file mode 100644 index cdb38ae90da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/tbillPrice'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action tbillPrice - * @param TbillPricePostRequestBody $body The request body - * @param TbillPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TbillPricePostRequestBody $body, ?TbillPriceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action tbillPrice - * @param TbillPricePostRequestBody $body The request body - * @param TbillPriceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TbillPricePostRequestBody $body, ?TbillPriceRequestBuilderPostRequestConfiguration $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 TbillPriceRequestBuilder - */ - public function withUrl(string $rawUrl): TbillPriceRequestBuilder { - return new TbillPriceRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3989b62eedb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php deleted file mode 100644 index 07216e4b879..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TbillYieldPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TbillYieldPostRequestBody { - return new TbillYieldPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php deleted file mode 100644 index 9de3a63d46c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/tbillYield'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action tbillYield - * @param TbillYieldPostRequestBody $body The request body - * @param TbillYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TbillYieldPostRequestBody $body, ?TbillYieldRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action tbillYield - * @param TbillYieldPostRequestBody $body The request body - * @param TbillYieldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TbillYieldPostRequestBody $body, ?TbillYieldRequestBuilderPostRequestConfiguration $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 TbillYieldRequestBuilder - */ - public function withUrl(string $rawUrl): TbillYieldRequestBuilder { - return new TbillYieldRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0630848f65f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php deleted file mode 100644 index 351cc5877c5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TextPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TextPostRequestBody { - return new TextPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php deleted file mode 100644 index 555b414f32d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/text'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action text - * @param TextPostRequestBody $body The request body - * @param TextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TextPostRequestBody $body, ?TextRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action text - * @param TextPostRequestBody $body The request body - * @param TextRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TextPostRequestBody $body, ?TextRequestBuilderPostRequestConfiguration $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 TextRequestBuilder - */ - public function withUrl(string $rawUrl): TextRequestBuilder { - return new TextRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c146c36e78d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php deleted file mode 100644 index cd80936c0ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TimePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TimePostRequestBody { - return new TimePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php deleted file mode 100644 index cac755aa870..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/time'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action time - * @param TimePostRequestBody $body The request body - * @param TimeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TimePostRequestBody $body, ?TimeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action time - * @param TimePostRequestBody $body The request body - * @param TimeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TimePostRequestBody $body, ?TimeRequestBuilderPostRequestConfiguration $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 TimeRequestBuilder - */ - public function withUrl(string $rawUrl): TimeRequestBuilder { - return new TimeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php deleted file mode 100644 index 284b90ded9f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TimevaluePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TimevaluePostRequestBody { - return new TimevaluePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php deleted file mode 100644 index 2be60486133..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/timevalue'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action timevalue - * @param TimevaluePostRequestBody $body The request body - * @param TimevalueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TimevaluePostRequestBody $body, ?TimevalueRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action timevalue - * @param TimevaluePostRequestBody $body The request body - * @param TimevalueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TimevaluePostRequestBody $body, ?TimevalueRequestBuilderPostRequestConfiguration $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 TimevalueRequestBuilder - */ - public function withUrl(string $rawUrl): TimevalueRequestBuilder { - return new TimevalueRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 80dbadac319..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php deleted file mode 100644 index a06cac2d2ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/today'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action today - * @param TodayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?TodayRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action today - * @param TodayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?TodayRequestBuilderPostRequestConfiguration $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"); - 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 TodayRequestBuilder - */ - public function withUrl(string $rawUrl): TodayRequestBuilder { - return new TodayRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 066b01ec494..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Today/TodayRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php deleted file mode 100644 index 6e0784fcabf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TrimPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TrimPostRequestBody { - return new TrimPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php deleted file mode 100644 index c9e01523a91..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/trim'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action trim - * @param TrimPostRequestBody $body The request body - * @param TrimRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TrimPostRequestBody $body, ?TrimRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action trim - * @param TrimPostRequestBody $body The request body - * @param TrimRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TrimPostRequestBody $body, ?TrimRequestBuilderPostRequestConfiguration $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 TrimRequestBuilder - */ - public function withUrl(string $rawUrl): TrimRequestBuilder { - return new TrimRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1ee9966917a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php deleted file mode 100644 index f0b7b7fbeaa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TrimMeanPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TrimMeanPostRequestBody { - return new TrimMeanPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php deleted file mode 100644 index ec0cf552026..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/trimMean'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action trimMean - * @param TrimMeanPostRequestBody $body The request body - * @param TrimMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TrimMeanPostRequestBody $body, ?TrimMeanRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action trimMean - * @param TrimMeanPostRequestBody $body The request body - * @param TrimMeanRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TrimMeanPostRequestBody $body, ?TrimMeanRequestBuilderPostRequestConfiguration $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 TrimMeanRequestBuilder - */ - public function withUrl(string $rawUrl): TrimMeanRequestBuilder { - return new TrimMeanRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 28aa45c003b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php deleted file mode 100644 index acbf9d98b5b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/true'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action true - * @param TrueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(?TrueRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action true - * @param TrueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?TrueRequestBuilderPostRequestConfiguration $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"); - 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 TrueRequestBuilder - */ - public function withUrl(string $rawUrl): TrueRequestBuilder { - return new TrueRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 33ce3179eba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/True/TrueRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php deleted file mode 100644 index 1129a204fe5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TruncPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TruncPostRequestBody { - return new TruncPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php deleted file mode 100644 index 964f870083a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/trunc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action trunc - * @param TruncPostRequestBody $body The request body - * @param TruncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TruncPostRequestBody $body, ?TruncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action trunc - * @param TruncPostRequestBody $body The request body - * @param TruncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TruncPostRequestBody $body, ?TruncRequestBuilderPostRequestConfiguration $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 TruncRequestBuilder - */ - public function withUrl(string $rawUrl): TruncRequestBuilder { - return new TruncRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d7c1959e5cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php deleted file mode 100644 index 98e3f7aa887..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return TypePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): TypePostRequestBody { - return new TypePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php deleted file mode 100644 index 4042d00a3ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/type'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action type - * @param TypePostRequestBody $body The request body - * @param TypeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(TypePostRequestBody $body, ?TypeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action type - * @param TypePostRequestBody $body The request body - * @param TypeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(TypePostRequestBody $body, ?TypeRequestBuilderPostRequestConfiguration $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 TypeRequestBuilder - */ - public function withUrl(string $rawUrl): TypeRequestBuilder { - return new TypeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 58d659939cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php deleted file mode 100644 index 66b4f3ea67a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return UnicharPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): UnicharPostRequestBody { - return new UnicharPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php deleted file mode 100644 index 01d9d9cfc45..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/unichar'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action unichar - * @param UnicharPostRequestBody $body The request body - * @param UnicharRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(UnicharPostRequestBody $body, ?UnicharRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action unichar - * @param UnicharPostRequestBody $body The request body - * @param UnicharRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(UnicharPostRequestBody $body, ?UnicharRequestBuilderPostRequestConfiguration $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 UnicharRequestBuilder - */ - public function withUrl(string $rawUrl): UnicharRequestBuilder { - return new UnicharRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f3b5394b210..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php deleted file mode 100644 index 8192e33120c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return UnicodePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): UnicodePostRequestBody { - return new UnicodePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php deleted file mode 100644 index 6477805bc37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/unicode'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action unicode - * @param UnicodePostRequestBody $body The request body - * @param UnicodeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(UnicodePostRequestBody $body, ?UnicodeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action unicode - * @param UnicodePostRequestBody $body The request body - * @param UnicodeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(UnicodePostRequestBody $body, ?UnicodeRequestBuilderPostRequestConfiguration $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 UnicodeRequestBuilder - */ - public function withUrl(string $rawUrl): UnicodeRequestBuilder { - return new UnicodeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3d99a6b2749..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php deleted file mode 100644 index a219e2eae0f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return UpperPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): UpperPostRequestBody { - return new UpperPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php deleted file mode 100644 index 397535fe47f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/upper'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action upper - * @param UpperPostRequestBody $body The request body - * @param UpperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(UpperPostRequestBody $body, ?UpperRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action upper - * @param UpperPostRequestBody $body The request body - * @param UpperRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(UpperPostRequestBody $body, ?UpperRequestBuilderPostRequestConfiguration $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 UpperRequestBuilder - */ - public function withUrl(string $rawUrl): UpperRequestBuilder { - return new UpperRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2477b357ce7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php deleted file mode 100644 index 212324a2b9a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return UsdollarPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): UsdollarPostRequestBody { - return new UsdollarPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php deleted file mode 100644 index 4664544e526..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/usdollar'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action usdollar - * @param UsdollarPostRequestBody $body The request body - * @param UsdollarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(UsdollarPostRequestBody $body, ?UsdollarRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action usdollar - * @param UsdollarPostRequestBody $body The request body - * @param UsdollarRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(UsdollarPostRequestBody $body, ?UsdollarRequestBuilderPostRequestConfiguration $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 UsdollarRequestBuilder - */ - public function withUrl(string $rawUrl): UsdollarRequestBuilder { - return new UsdollarRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e9a52164119..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php deleted file mode 100644 index e7d5c2e1940..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ValuePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ValuePostRequestBody { - return new ValuePostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php deleted file mode 100644 index ad64d37b5ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/value'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action value - * @param ValuePostRequestBody $body The request body - * @param ValueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ValuePostRequestBody $body, ?ValueRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action value - * @param ValuePostRequestBody $body The request body - * @param ValueRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ValuePostRequestBody $body, ?ValueRequestBuilderPostRequestConfiguration $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 ValueRequestBuilder - */ - public function withUrl(string $rawUrl): ValueRequestBuilder { - return new ValueRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b82a3d61174..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValueRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php deleted file mode 100644 index fe52e38e90c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return VarAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): VarAPostRequestBody { - return new VarAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php deleted file mode 100644 index 2548267cedf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/varA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action varA - * @param VarAPostRequestBody $body The request body - * @param VarARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(VarAPostRequestBody $body, ?VarARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action varA - * @param VarAPostRequestBody $body The request body - * @param VarARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(VarAPostRequestBody $body, ?VarARequestBuilderPostRequestConfiguration $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 VarARequestBuilder - */ - public function withUrl(string $rawUrl): VarARequestBuilder { - return new VarARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5e94e754213..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php deleted file mode 100644 index 2ccc247d7ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return VarPAPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): VarPAPostRequestBody { - return new VarPAPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php deleted file mode 100644 index 2a3c8e4d055..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/varPA'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action varPA - * @param VarPAPostRequestBody $body The request body - * @param VarPARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(VarPAPostRequestBody $body, ?VarPARequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action varPA - * @param VarPAPostRequestBody $body The request body - * @param VarPARequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(VarPAPostRequestBody $body, ?VarPARequestBuilderPostRequestConfiguration $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 VarPARequestBuilder - */ - public function withUrl(string $rawUrl): VarPARequestBuilder { - return new VarPARequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 93a5d4e5df3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php deleted file mode 100644 index 5c3d0ced7c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Var_PPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Var_PPostRequestBody { - return new Var_PPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php deleted file mode 100644 index 12e68367da9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/var_P'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action var_P - * @param Var_PPostRequestBody $body The request body - * @param Var_PRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Var_PPostRequestBody $body, ?Var_PRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action var_P - * @param Var_PPostRequestBody $body The request body - * @param Var_PRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Var_PPostRequestBody $body, ?Var_PRequestBuilderPostRequestConfiguration $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 Var_PRequestBuilder - */ - public function withUrl(string $rawUrl): Var_PRequestBuilder { - return new Var_PRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 18fde709de0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php deleted file mode 100644 index 7b51420ff37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Var_SPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Var_SPostRequestBody { - return new Var_SPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php deleted file mode 100644 index 4b4b09588e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/var_S'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action var_S - * @param Var_SPostRequestBody $body The request body - * @param Var_SRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Var_SPostRequestBody $body, ?Var_SRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action var_S - * @param Var_SPostRequestBody $body The request body - * @param Var_SRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Var_SPostRequestBody $body, ?Var_SRequestBuilderPostRequestConfiguration $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 Var_SRequestBuilder - */ - public function withUrl(string $rawUrl): Var_SRequestBuilder { - return new Var_SRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 7384d582085..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php deleted file mode 100644 index dcae8b8b621..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return VdbPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): VdbPostRequestBody { - return new VdbPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php deleted file mode 100644 index 7d4fe515b21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/vdb'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action vdb - * @param VdbPostRequestBody $body The request body - * @param VdbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(VdbPostRequestBody $body, ?VdbRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action vdb - * @param VdbPostRequestBody $body The request body - * @param VdbRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(VdbPostRequestBody $body, ?VdbRequestBuilderPostRequestConfiguration $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 VdbRequestBuilder - */ - public function withUrl(string $rawUrl): VdbRequestBuilder { - return new VdbRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 580562fe8f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php deleted file mode 100644 index 695f3efed78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return VlookupPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): VlookupPostRequestBody { - return new VlookupPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php deleted file mode 100644 index 676217b77f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/vlookup'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action vlookup - * @param VlookupPostRequestBody $body The request body - * @param VlookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(VlookupPostRequestBody $body, ?VlookupRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action vlookup - * @param VlookupPostRequestBody $body The request body - * @param VlookupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(VlookupPostRequestBody $body, ?VlookupRequestBuilderPostRequestConfiguration $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 VlookupRequestBuilder - */ - public function withUrl(string $rawUrl): VlookupRequestBuilder { - return new VlookupRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b9fee64799e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php deleted file mode 100644 index dfeeb586203..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return WeekNumPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WeekNumPostRequestBody { - return new WeekNumPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php deleted file mode 100644 index d2d2ab13d1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/weekNum'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action weekNum - * @param WeekNumPostRequestBody $body The request body - * @param WeekNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WeekNumPostRequestBody $body, ?WeekNumRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action weekNum - * @param WeekNumPostRequestBody $body The request body - * @param WeekNumRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WeekNumPostRequestBody $body, ?WeekNumRequestBuilderPostRequestConfiguration $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 WeekNumRequestBuilder - */ - public function withUrl(string $rawUrl): WeekNumRequestBuilder { - return new WeekNumRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ac09287e485..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php deleted file mode 100644 index 779ba2a2cc2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return WeekdayPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WeekdayPostRequestBody { - return new WeekdayPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php deleted file mode 100644 index eb96060719d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/weekday'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action weekday - * @param WeekdayPostRequestBody $body The request body - * @param WeekdayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WeekdayPostRequestBody $body, ?WeekdayRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action weekday - * @param WeekdayPostRequestBody $body The request body - * @param WeekdayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WeekdayPostRequestBody $body, ?WeekdayRequestBuilderPostRequestConfiguration $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 WeekdayRequestBuilder - */ - public function withUrl(string $rawUrl): WeekdayRequestBuilder { - return new WeekdayRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 726386401a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php deleted file mode 100644 index 1c98d0b09a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Weibull_DistPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Weibull_DistPostRequestBody { - return new Weibull_DistPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php deleted file mode 100644 index 1c494e3253a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/weibull_Dist'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action weibull_Dist - * @param Weibull_DistPostRequestBody $body The request body - * @param Weibull_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Weibull_DistPostRequestBody $body, ?Weibull_DistRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action weibull_Dist - * @param Weibull_DistPostRequestBody $body The request body - * @param Weibull_DistRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Weibull_DistPostRequestBody $body, ?Weibull_DistRequestBuilderPostRequestConfiguration $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 Weibull_DistRequestBuilder - */ - public function withUrl(string $rawUrl): Weibull_DistRequestBuilder { - return new Weibull_DistRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2c2d6ca4309..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php deleted file mode 100644 index b0d3b1876d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return WorkDayPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkDayPostRequestBody { - return new WorkDayPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php deleted file mode 100644 index ba0e3b5469e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/workDay'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action workDay - * @param WorkDayPostRequestBody $body The request body - * @param WorkDayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkDayPostRequestBody $body, ?WorkDayRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action workDay - * @param WorkDayPostRequestBody $body The request body - * @param WorkDayRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkDayPostRequestBody $body, ?WorkDayRequestBuilderPostRequestConfiguration $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 WorkDayRequestBuilder - */ - public function withUrl(string $rawUrl): WorkDayRequestBuilder { - return new WorkDayRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ebabfa737de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php deleted file mode 100644 index 6877347d443..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return WorkDay_IntlPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkDay_IntlPostRequestBody { - return new WorkDay_IntlPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php deleted file mode 100644 index 0897e24e672..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/workDay_Intl'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action workDay_Intl - * @param WorkDay_IntlPostRequestBody $body The request body - * @param WorkDay_IntlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkDay_IntlPostRequestBody $body, ?WorkDay_IntlRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action workDay_Intl - * @param WorkDay_IntlPostRequestBody $body The request body - * @param WorkDay_IntlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkDay_IntlPostRequestBody $body, ?WorkDay_IntlRequestBuilderPostRequestConfiguration $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 WorkDay_IntlRequestBuilder - */ - public function withUrl(string $rawUrl): WorkDay_IntlRequestBuilder { - return new WorkDay_IntlRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 73750096b63..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php deleted file mode 100644 index 47947edd5bd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return XirrPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): XirrPostRequestBody { - return new XirrPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php deleted file mode 100644 index 5d5e804b00b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/xirr'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action xirr - * @param XirrPostRequestBody $body The request body - * @param XirrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(XirrPostRequestBody $body, ?XirrRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action xirr - * @param XirrPostRequestBody $body The request body - * @param XirrRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(XirrPostRequestBody $body, ?XirrRequestBuilderPostRequestConfiguration $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 XirrRequestBuilder - */ - public function withUrl(string $rawUrl): XirrRequestBuilder { - return new XirrRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a9401a5f642..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php deleted file mode 100644 index 627164079ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return XnpvPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): XnpvPostRequestBody { - return new XnpvPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php deleted file mode 100644 index 5b6cc70ad6e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/xnpv'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action xnpv - * @param XnpvPostRequestBody $body The request body - * @param XnpvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(XnpvPostRequestBody $body, ?XnpvRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action xnpv - * @param XnpvPostRequestBody $body The request body - * @param XnpvRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(XnpvPostRequestBody $body, ?XnpvRequestBuilderPostRequestConfiguration $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 XnpvRequestBuilder - */ - public function withUrl(string $rawUrl): XnpvRequestBuilder { - return new XnpvRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 550e6c6cbff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php deleted file mode 100644 index a44895d59d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return YearPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): YearPostRequestBody { - return new YearPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php deleted file mode 100644 index de6abcc5508..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/year'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action year - * @param YearPostRequestBody $body The request body - * @param YearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(YearPostRequestBody $body, ?YearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action year - * @param YearPostRequestBody $body The request body - * @param YearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(YearPostRequestBody $body, ?YearRequestBuilderPostRequestConfiguration $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 YearRequestBuilder - */ - public function withUrl(string $rawUrl): YearRequestBuilder { - return new YearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b62a81245f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php deleted file mode 100644 index 3f49cde38e9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return YearFracPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): YearFracPostRequestBody { - return new YearFracPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php deleted file mode 100644 index a42432a9802..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/yearFrac'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action yearFrac - * @param YearFracPostRequestBody $body The request body - * @param YearFracRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(YearFracPostRequestBody $body, ?YearFracRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action yearFrac - * @param YearFracPostRequestBody $body The request body - * @param YearFracRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(YearFracPostRequestBody $body, ?YearFracRequestBuilderPostRequestConfiguration $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 YearFracRequestBuilder - */ - public function withUrl(string $rawUrl): YearFracRequestBuilder { - return new YearFracRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bb2d314b4f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php deleted file mode 100644 index e7d8ea6abe4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return YieldDiscPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): YieldDiscPostRequestBody { - return new YieldDiscPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php deleted file mode 100644 index ab8e385372b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/yieldDisc'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action yieldDisc - * @param YieldDiscPostRequestBody $body The request body - * @param YieldDiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(YieldDiscPostRequestBody $body, ?YieldDiscRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action yieldDisc - * @param YieldDiscPostRequestBody $body The request body - * @param YieldDiscRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(YieldDiscPostRequestBody $body, ?YieldDiscRequestBuilderPostRequestConfiguration $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 YieldDiscRequestBuilder - */ - public function withUrl(string $rawUrl): YieldDiscRequestBuilder { - return new YieldDiscRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 57353b49996..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php deleted file mode 100644 index 5246d7367d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return YieldMatPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): YieldMatPostRequestBody { - return new YieldMatPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php deleted file mode 100644 index 3cb9fc59061..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/yieldMat'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action yieldMat - * @param YieldMatPostRequestBody $body The request body - * @param YieldMatRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(YieldMatPostRequestBody $body, ?YieldMatRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action yieldMat - * @param YieldMatPostRequestBody $body The request body - * @param YieldMatRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(YieldMatPostRequestBody $body, ?YieldMatRequestBuilderPostRequestConfiguration $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 YieldMatRequestBuilder - */ - public function withUrl(string $rawUrl): YieldMatRequestBuilder { - return new YieldMatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cc7770e717d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php deleted file mode 100644 index 958eeef03b0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Z_TestPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Z_TestPostRequestBody { - return new Z_TestPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php deleted file mode 100644 index c7361d42650..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/functions/z_Test'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action z_Test - * @param Z_TestPostRequestBody $body The request body - * @param Z_TestRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(Z_TestPostRequestBody $body, ?Z_TestRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFunctionResult::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke action z_Test - * @param Z_TestPostRequestBody $body The request body - * @param Z_TestRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(Z_TestPostRequestBody $body, ?Z_TestRequestBuilderPostRequestConfiguration $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 Z_TestRequestBuilder - */ - public function withUrl(string $rawUrl): Z_TestRequestBuilder { - return new Z_TestRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1540af66444..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php deleted file mode 100644 index 46a52bb29b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * 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 comment property value. The comment property - * @return string|null - */ - public function getComment(): ?string { - $val = $this->getBackingStore()->get('comment'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'comment'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('comment', $this->getComment()); - $writer->writeStringValue('name', $this->getName()); - $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 comment property value. The comment property - * @param string|null $value Value to set for the comment property. - */ - public function setComment(?string $value): void { - $this->getBackingStore()->set('comment', $value); - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilder.php deleted file mode 100644 index a1be1416192..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @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/nameditem-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b1728b0f30b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php deleted file mode 100644 index a2913fff9c4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/addFormulaLocal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddFormulaLocalPostRequestBody $body The request body - * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/nameditem-addformulalocal?view=graph-rest-1.0 Find more info here - */ - public function post(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddFormulaLocalPostRequestBody $body The request body - * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalRequestBuilderPostRequestConfiguration $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 AddFormulaLocalRequestBuilder - */ - public function withUrl(string $rawUrl): AddFormulaLocalRequestBuilder { - return new AddFormulaLocalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 92554ba7b9a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilder.php deleted file mode 100644 index a7d4d2f5cd1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 67f24fedd8a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f7b6a2d0741..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index c9c9daa083b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Retrieve the properties and relationships of range object. - * @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 - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Retrieve the properties and relationships of range object. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3557f35515a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php deleted file mode 100644 index 916a83fac08..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookNamedItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property names for storage - * @param WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. - * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookNamedItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property names in storage - * @param WorkbookNamedItem $body The request body - * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookNamedItem $body, ?WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property names for storage - * @param WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. - * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookNamedItemItemRequestBuilderGetRequestConfiguration $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 names in storage - * @param WorkbookNamedItem $body The request body - * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookNamedItem $body, ?WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration $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 WorkbookNamedItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookNamedItemItemRequestBuilder { - return new WorkbookNamedItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index cbf55892ffd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 29d19a13de9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookNamedItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f3c0c9e4e6b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookNamedItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookNamedItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookNamedItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookNamedItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookNamedItemItemRequestBuilderGetQueryParameters { - return new WorkbookNamedItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 1e65ac0b33c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index 73452d06c3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9012016d25b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilder.php deleted file mode 100644 index 2c32a8673dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilder.php +++ /dev/null @@ -1,149 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the addFormulaLocal method. - */ - public function addFormulaLocal(): AddFormulaLocalRequestBuilder { - return new AddFormulaLocalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to count the resources in the collection. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the names property of the microsoft.graph.workbook entity. - * @param string $workbookNamedItemId The unique identifier of workbookNamedItem - * @return WorkbookNamedItemItemRequestBuilder - */ - public function byWorkbookNamedItemId(string $workbookNamedItemId): WorkbookNamedItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookNamedItem%2Did'] = $workbookNamedItemId; - return new WorkbookNamedItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new NamesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/names{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. - * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to names for storage - * @param WorkbookNamedItem $body The request body - * @param NamesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. - * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to names for storage - * @param WorkbookNamedItem $body The request body - * @param NamesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestConfiguration $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 NamesRequestBuilder - */ - public function withUrl(string $rawUrl): NamesRequestBuilder { - return new NamesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php deleted file mode 100644 index ddd2641775a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new NamesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2f1fc146bbc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/NamesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php deleted file mode 100644 index 27aebb6aad7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations/{workbookOperation%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property operations for storage - * @param WorkbookOperationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookOperationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. - * @param WorkbookOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookOperationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookOperation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property operations in storage - * @param WorkbookOperation $body The request body - * @param WorkbookOperationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookOperation $body, ?WorkbookOperationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookOperation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property operations for storage - * @param WorkbookOperationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookOperationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. - * @param WorkbookOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookOperationItemRequestBuilderGetRequestConfiguration $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 operations in storage - * @param WorkbookOperation $body The request body - * @param WorkbookOperationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookOperation $body, ?WorkbookOperationItemRequestBuilderPatchRequestConfiguration $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 WorkbookOperationItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookOperationItemRequestBuilder { - return new WorkbookOperationItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 70be1d6fe5f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index a487426b9a4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookOperationItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7f51e83b70e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookOperationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookOperationItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookOperationItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookOperationItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookOperationItemRequestBuilderGetQueryParameters { - return new WorkbookOperationItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a6d3d45e55b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php deleted file mode 100644 index 13d22515e07..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php +++ /dev/null @@ -1,125 +0,0 @@ -pathParameters; - $urlTplParams['workbookOperation%2Did'] = $workbookOperationId; - return new WorkbookOperationItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new OperationsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookOperationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to operations for storage - * @param WorkbookOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookOperation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. - * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to operations for storage - * @param WorkbookOperation $body The request body - * @param OperationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookOperation $body, ?OperationsRequestBuilderPostRequestConfiguration $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 OperationsRequestBuilder - */ - public function withUrl(string $rawUrl): OperationsRequestBuilder { - return new OperationsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php deleted file mode 100644 index af4b879d3ca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e60de9efc71..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param OperationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?OperationsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new OperationsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return OperationsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4868705069b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php deleted file mode 100644 index 9b65737d796..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/refreshSession'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Use this API to refresh an existing workbook session. - * @param RefreshSessionRequestBuilderPostRequestConfiguration|null $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-refreshsession?view=graph-rest-1.0 Find more info here - */ - public function post(?RefreshSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Use this API to refresh an existing workbook session. - * @param RefreshSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RefreshSessionRequestBuilderPostRequestConfiguration $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"); - 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 RefreshSessionRequestBuilder - */ - public function withUrl(string $rawUrl): RefreshSessionRequestBuilder { - return new RefreshSessionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0d0d48720a4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php deleted file mode 100644 index f6b99c334b5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $key Usage: key='{key}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $key = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/sessionInfoResource(key=\'{key}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['key'] = $key; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function sessionInfoResource - * @param SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookSessionInfo::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function sessionInfoResource - * @param SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SessionInfoResourceWithKeyRequestBuilder - */ - public function withUrl(string $rawUrl): SessionInfoResourceWithKeyRequestBuilder { - return new SessionInfoResourceWithKeyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d6deb7d5a33..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php deleted file mode 100644 index 7d449162908..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $key Usage: key='{key}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $key = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tableRowOperationResult(key=\'{key}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['key'] = $key; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. - * @param TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration|null $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-tablerowoperationresult?view=graph-rest-1.0 Find more info here - */ - public function get(?TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. - * @param TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TableRowOperationResultWithKeyRequestBuilder - */ - public function withUrl(string $rawUrl): TableRowOperationResultWithKeyRequestBuilder { - return new TableRowOperationResultWithKeyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a523c4bd7d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddPostRequestBody.php deleted file mode 100644 index 9484d27ef2f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the address property value. The address property - * @return string|null - */ - public function getAddress(): ?string { - $val = $this->getBackingStore()->get('address'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'address'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'address' => fn(ParseNode $n) => $o->setAddress($n->getStringValue()), - 'hasHeaders' => fn(ParseNode $n) => $o->setHasHeaders($n->getBooleanValue()), - ]; - } - - /** - * Gets the hasHeaders property value. The hasHeaders property - * @return bool|null - */ - public function getHasHeaders(): ?bool { - $val = $this->getBackingStore()->get('hasHeaders'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'hasHeaders'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('address', $this->getAddress()); - $writer->writeBooleanValue('hasHeaders', $this->getHasHeaders()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the address property value. The address property - * @param string|null $value Value to set for the address property. - */ - public function setAddress(?string $value): void { - $this->getBackingStore()->set('address', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the hasHeaders property value. The hasHeaders property - * @param bool|null $value Value to set for the hasHeaders property. - */ - public function setHasHeaders(?bool $value): void { - $this->getBackingStore()->set('hasHeaders', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php deleted file mode 100644 index 33256368dc7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * 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. - * @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 - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * 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. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ab1b53ff06d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountGetResponse.php deleted file mode 100644 index f032f6f8996..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php deleted file mode 100644 index 3b7b42026f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6b929cac112..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php deleted file mode 100644 index 8ad915b86ac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/clearFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $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-clearfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ClearFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ClearFiltersRequestBuilder { - return new ClearFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 752811675db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php deleted file mode 100644 index af72c6d4f78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the index property value. The index property - * @return int|null - */ - public function getIndex(): ?int { - $val = $this->getBackingStore()->get('index'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeStringValue('name', $this->getName()); - $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 index property value. The index property - * @param int|null $value Value to set for the index property. - */ - public function setIndex(?int $value): void { - $this->getBackingStore()->set('index', $value); - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php deleted file mode 100644 index 4cea703d789..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new column to the 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/tablecolumncollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new column to the 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 - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c037d15bed9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index 21455d14d91..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - * @param string $workbookTableColumnId The unique identifier of workbookTableColumn - * @return WorkbookTableColumnItemRequestBuilder - */ - public function byWorkbookTableColumnId(string $workbookTableColumnId): WorkbookTableColumnItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTableColumn%2Did'] = $workbookTableColumnId; - return new WorkbookTableColumnItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumnCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index f33eac2f130..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 670aec254dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 37a4c6ab558..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.php deleted file mode 100644 index de64f16285c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php deleted file mode 100644 index fc535995cf9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aaedeb45cb0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 5cb3a3221ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d7c0098bdd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php deleted file mode 100644 index 88f6347c3ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyPostRequestBody { - return new ApplyPostRequestBody(); - } - - /** - * 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 criteria property value. The criteria property - * @return WorkbookFilterCriteria|null - */ - public function getCriteria(): ?WorkbookFilterCriteria { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof WorkbookFilterCriteria) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([WorkbookFilterCriteria::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $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 criteria property value. The criteria property - * @param WorkbookFilterCriteria|null $value Value to set for the criteria property. - */ - public function setCriteria(?WorkbookFilterCriteria $value): void { - $this->getBackingStore()->set('criteria', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php deleted file mode 100644 index 386345daf2e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/apply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Apply the given filter criteria on the given column. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-1.0 Find more info here - */ - public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Apply the given filter criteria on the given column. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $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 ApplyRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyRequestBuilder { - return new ApplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6437fdf0a70..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php deleted file mode 100644 index de1b923365a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyBottomItemsFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyBottomItemsFilterPostRequestBody { - return new ApplyBottomItemsFilterPostRequestBody(); - } - - /** - * 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 count property value. The count property - * @return int|null - */ - public function getCount(): ?int { - $val = $this->getBackingStore()->get('count'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'count'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'count' => fn(ParseNode $n) => $o->setCount($n->getIntegerValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('count', $this->getCount()); - $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 count property value. The count property - * @param int|null $value Value to set for the count property. - */ - public function setCount(?int $value): void { - $this->getBackingStore()->set('count', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php deleted file mode 100644 index c3c9c61aaab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyBottomItemsFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyBottomItemsFilter - * @param ApplyBottomItemsFilterPostRequestBody $body The request body - * @param ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyBottomItemsFilterPostRequestBody $body, ?ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyBottomItemsFilter - * @param ApplyBottomItemsFilterPostRequestBody $body The request body - * @param ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyBottomItemsFilterPostRequestBody $body, ?ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration $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 ApplyBottomItemsFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyBottomItemsFilterRequestBuilder { - return new ApplyBottomItemsFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f53296c927f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php deleted file mode 100644 index ad5071c4100..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyBottomPercentFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyBottomPercentFilterPostRequestBody { - return new ApplyBottomPercentFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getIntegerValue()), - ]; - } - - /** - * Gets the percent property value. The percent property - * @return int|null - */ - public function getPercent(): ?int { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('percent', $this->getPercent()); - $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 percent property value. The percent property - * @param int|null $value Value to set for the percent property. - */ - public function setPercent(?int $value): void { - $this->getBackingStore()->set('percent', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php deleted file mode 100644 index 887efb90cf8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyBottomPercentFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyBottomPercentFilter - * @param ApplyBottomPercentFilterPostRequestBody $body The request body - * @param ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyBottomPercentFilterPostRequestBody $body, ?ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyBottomPercentFilter - * @param ApplyBottomPercentFilterPostRequestBody $body The request body - * @param ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyBottomPercentFilterPostRequestBody $body, ?ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration $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 ApplyBottomPercentFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyBottomPercentFilterRequestBuilder { - return new ApplyBottomPercentFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 669353056cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php deleted file mode 100644 index 2d5a8ffc17e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyCellColorFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyCellColorFilterPostRequestBody { - return new ApplyCellColorFilterPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php deleted file mode 100644 index ec84f81bf5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyCellColorFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyCellColorFilter - * @param ApplyCellColorFilterPostRequestBody $body The request body - * @param ApplyCellColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyCellColorFilterPostRequestBody $body, ?ApplyCellColorFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyCellColorFilter - * @param ApplyCellColorFilterPostRequestBody $body The request body - * @param ApplyCellColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyCellColorFilterPostRequestBody $body, ?ApplyCellColorFilterRequestBuilderPostRequestConfiguration $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 ApplyCellColorFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyCellColorFilterRequestBuilder { - return new ApplyCellColorFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index be0604b0412..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php deleted file mode 100644 index 62936cba7f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php +++ /dev/null @@ -1,158 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyCustomFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyCustomFilterPostRequestBody { - return new ApplyCustomFilterPostRequestBody(); - } - - /** - * 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 criteria1 property value. The criteria1 property - * @return string|null - */ - public function getCriteria1(): ?string { - $val = $this->getBackingStore()->get('criteria1'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria1'"); - } - - /** - * Gets the criteria2 property value. The criteria2 property - * @return string|null - */ - public function getCriteria2(): ?string { - $val = $this->getBackingStore()->get('criteria2'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria2'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria1' => fn(ParseNode $n) => $o->setCriteria1($n->getStringValue()), - 'criteria2' => fn(ParseNode $n) => $o->setCriteria2($n->getStringValue()), - 'oper' => fn(ParseNode $n) => $o->setOper($n->getStringValue()), - ]; - } - - /** - * Gets the oper property value. The oper property - * @return string|null - */ - public function getOper(): ?string { - $val = $this->getBackingStore()->get('oper'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oper'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('criteria1', $this->getCriteria1()); - $writer->writeStringValue('criteria2', $this->getCriteria2()); - $writer->writeStringValue('oper', $this->getOper()); - $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 criteria1 property value. The criteria1 property - * @param string|null $value Value to set for the criteria1 property. - */ - public function setCriteria1(?string $value): void { - $this->getBackingStore()->set('criteria1', $value); - } - - /** - * Sets the criteria2 property value. The criteria2 property - * @param string|null $value Value to set for the criteria2 property. - */ - public function setCriteria2(?string $value): void { - $this->getBackingStore()->set('criteria2', $value); - } - - /** - * Sets the oper property value. The oper property - * @param string|null $value Value to set for the oper property. - */ - public function setOper(?string $value): void { - $this->getBackingStore()->set('oper', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php deleted file mode 100644 index 7adce7f702f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyCustomFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyCustomFilter - * @param ApplyCustomFilterPostRequestBody $body The request body - * @param ApplyCustomFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyCustomFilterPostRequestBody $body, ?ApplyCustomFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyCustomFilter - * @param ApplyCustomFilterPostRequestBody $body The request body - * @param ApplyCustomFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyCustomFilterPostRequestBody $body, ?ApplyCustomFilterRequestBuilderPostRequestConfiguration $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 ApplyCustomFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyCustomFilterRequestBuilder { - return new ApplyCustomFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2567f881354..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php deleted file mode 100644 index 30967092693..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyDynamicFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyDynamicFilterPostRequestBody { - return new ApplyDynamicFilterPostRequestBody(); - } - - /** - * 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 criteria property value. The criteria property - * @return string|null - */ - public function getCriteria(): ?string { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('criteria', $this->getCriteria()); - $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 criteria property value. The criteria property - * @param string|null $value Value to set for the criteria property. - */ - public function setCriteria(?string $value): void { - $this->getBackingStore()->set('criteria', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php deleted file mode 100644 index aee94a92571..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyDynamicFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyDynamicFilter - * @param ApplyDynamicFilterPostRequestBody $body The request body - * @param ApplyDynamicFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyDynamicFilterPostRequestBody $body, ?ApplyDynamicFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyDynamicFilter - * @param ApplyDynamicFilterPostRequestBody $body The request body - * @param ApplyDynamicFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyDynamicFilterPostRequestBody $body, ?ApplyDynamicFilterRequestBuilderPostRequestConfiguration $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 ApplyDynamicFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyDynamicFilterRequestBuilder { - return new ApplyDynamicFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index d527c2f261f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php deleted file mode 100644 index eec0aef7c56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyFontColorFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyFontColorFilterPostRequestBody { - return new ApplyFontColorFilterPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php deleted file mode 100644 index 3a597253f5e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyFontColorFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyFontColorFilter - * @param ApplyFontColorFilterPostRequestBody $body The request body - * @param ApplyFontColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyFontColorFilterPostRequestBody $body, ?ApplyFontColorFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyFontColorFilter - * @param ApplyFontColorFilterPostRequestBody $body The request body - * @param ApplyFontColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyFontColorFilterPostRequestBody $body, ?ApplyFontColorFilterRequestBuilderPostRequestConfiguration $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 ApplyFontColorFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyFontColorFilterRequestBuilder { - return new ApplyFontColorFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5d77329c222..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php deleted file mode 100644 index 934042aff89..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyIconFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyIconFilterPostRequestBody { - return new ApplyIconFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'icon' => fn(ParseNode $n) => $o->setIcon($n->getObjectValue([WorkbookIcon::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the icon property value. The icon property - * @return WorkbookIcon|null - */ - public function getIcon(): ?WorkbookIcon { - $val = $this->getBackingStore()->get('icon'); - if (is_null($val) || $val instanceof WorkbookIcon) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'icon'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('icon', $this->getIcon()); - $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 icon property value. The icon property - * @param WorkbookIcon|null $value Value to set for the icon property. - */ - public function setIcon(?WorkbookIcon $value): void { - $this->getBackingStore()->set('icon', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php deleted file mode 100644 index 06adf37cad3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyIconFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyIconFilter - * @param ApplyIconFilterPostRequestBody $body The request body - * @param ApplyIconFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyIconFilterPostRequestBody $body, ?ApplyIconFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyIconFilter - * @param ApplyIconFilterPostRequestBody $body The request body - * @param ApplyIconFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyIconFilterPostRequestBody $body, ?ApplyIconFilterRequestBuilderPostRequestConfiguration $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 ApplyIconFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyIconFilterRequestBuilder { - return new ApplyIconFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9babf9f49a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php deleted file mode 100644 index 34955d23be9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyTopItemsFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyTopItemsFilterPostRequestBody { - return new ApplyTopItemsFilterPostRequestBody(); - } - - /** - * 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 count property value. The count property - * @return int|null - */ - public function getCount(): ?int { - $val = $this->getBackingStore()->get('count'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'count'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'count' => fn(ParseNode $n) => $o->setCount($n->getIntegerValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('count', $this->getCount()); - $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 count property value. The count property - * @param int|null $value Value to set for the count property. - */ - public function setCount(?int $value): void { - $this->getBackingStore()->set('count', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php deleted file mode 100644 index b75bf8b27a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyTopItemsFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyTopItemsFilter - * @param ApplyTopItemsFilterPostRequestBody $body The request body - * @param ApplyTopItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyTopItemsFilterPostRequestBody $body, ?ApplyTopItemsFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyTopItemsFilter - * @param ApplyTopItemsFilterPostRequestBody $body The request body - * @param ApplyTopItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyTopItemsFilterPostRequestBody $body, ?ApplyTopItemsFilterRequestBuilderPostRequestConfiguration $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 ApplyTopItemsFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyTopItemsFilterRequestBuilder { - return new ApplyTopItemsFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f2e68a88d0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php deleted file mode 100644 index 5a53674061e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyTopPercentFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyTopPercentFilterPostRequestBody { - return new ApplyTopPercentFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getIntegerValue()), - ]; - } - - /** - * Gets the percent property value. The percent property - * @return int|null - */ - public function getPercent(): ?int { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('percent', $this->getPercent()); - $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 percent property value. The percent property - * @param int|null $value Value to set for the percent property. - */ - public function setPercent(?int $value): void { - $this->getBackingStore()->set('percent', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php deleted file mode 100644 index 24d48799ab8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyTopPercentFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyTopPercentFilter - * @param ApplyTopPercentFilterPostRequestBody $body The request body - * @param ApplyTopPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyTopPercentFilterPostRequestBody $body, ?ApplyTopPercentFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyTopPercentFilter - * @param ApplyTopPercentFilterPostRequestBody $body The request body - * @param ApplyTopPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyTopPercentFilterPostRequestBody $body, ?ApplyTopPercentFilterRequestBuilderPostRequestConfiguration $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 ApplyTopPercentFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyTopPercentFilterRequestBuilder { - return new ApplyTopPercentFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f0465c1a9f1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php deleted file mode 100644 index 685b4dd9ea0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyValuesFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyValuesFilterPostRequestBody { - return new ApplyValuesFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php deleted file mode 100644 index 55cb5f6e7e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyValuesFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyValuesFilter - * @param ApplyValuesFilterPostRequestBody $body The request body - * @param ApplyValuesFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyValuesFilterPostRequestBody $body, ?ApplyValuesFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyValuesFilter - * @param ApplyValuesFilterPostRequestBody $body The request body - * @param ApplyValuesFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyValuesFilterPostRequestBody $body, ?ApplyValuesFilterRequestBuilderPostRequestConfiguration $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 ApplyValuesFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyValuesFilterRequestBuilder { - return new ApplyValuesFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 47caeda805d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5794d62888b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php deleted file mode 100644 index 4cd4a654bcf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ /dev/null @@ -1,240 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyBottomItemsFilter method. - */ - public function applyBottomItemsFilter(): ApplyBottomItemsFilterRequestBuilder { - return new ApplyBottomItemsFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyBottomPercentFilter method. - */ - public function applyBottomPercentFilter(): ApplyBottomPercentFilterRequestBuilder { - return new ApplyBottomPercentFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyCellColorFilter method. - */ - public function applyCellColorFilter(): ApplyCellColorFilterRequestBuilder { - return new ApplyCellColorFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyCustomFilter method. - */ - public function applyCustomFilter(): ApplyCustomFilterRequestBuilder { - return new ApplyCustomFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyDynamicFilter method. - */ - public function applyDynamicFilter(): ApplyDynamicFilterRequestBuilder { - return new ApplyDynamicFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyFontColorFilter method. - */ - public function applyFontColorFilter(): ApplyFontColorFilterRequestBuilder { - return new ApplyFontColorFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyIconFilter method. - */ - public function applyIconFilter(): ApplyIconFilterRequestBuilder { - return new ApplyIconFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyTopItemsFilter method. - */ - public function applyTopItemsFilter(): ApplyTopItemsFilterRequestBuilder { - return new ApplyTopItemsFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyTopPercentFilter method. - */ - public function applyTopPercentFilter(): ApplyTopPercentFilterRequestBuilder { - return new ApplyTopPercentFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyValuesFilter method. - */ - public function applyValuesFilter(): ApplyValuesFilterRequestBuilder { - return new ApplyValuesFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the clear method. - */ - public function clear(): ClearRequestBuilder { - return new ClearRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FilterRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FilterRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfiguration $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 filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $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 FilterRequestBuilder - */ - public function withUrl(string $rawUrl): FilterRequestBuilder { - return new FilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 1defcb12462..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php deleted file mode 100644 index d3640b0116e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FilterRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3acf378b089..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FilterRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FilterRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FilterRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FilterRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FilterRequestBuilderGetQueryParameters { - return new FilterRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a6ad66bcd60..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index c4b101f450d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b9bd3569ed0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index cfbf002e5ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the entire column. - * @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/tablecolumn-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the entire column. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f4c874b97c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index c9949d0044a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6d0fd6db796..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 9fde2e4fc97..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b2445ada878..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php deleted file mode 100644 index 76c60cc0f1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FilterRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfiguration $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 filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $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 FilterRequestBuilder - */ - public function withUrl(string $rawUrl): FilterRequestBuilder { - return new FilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e5bd3c353a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php deleted file mode 100644 index 173656eb0b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FilterRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 39155ae3ccf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FilterRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FilterRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FilterRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FilterRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FilterRequestBuilderGetQueryParameters { - return new FilterRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 672d3e4cd26..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index b6c2a062aa0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6a5c676148e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 6cee0db8d8f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,118 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. - */ - public function filter(): FilterRequestBuilder { - return new FilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets a column based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets a column based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e18f9902b37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index d84a73e6835..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the entire column. - * @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/tablecolumn-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the entire column. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index be83a619c28..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index 5704c16876c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 37aba0d64cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php deleted file mode 100644 index 6ac30a2c3ca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/convertToRange'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $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-converttorange?view=graph-rest-1.0 Find more info here - */ - public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostRequestConfiguration $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"); - 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 ConvertToRangeRequestBuilder - */ - public function withUrl(string $rawUrl): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0fec8f0cda6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index ae006cae8aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 16b15232238..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 287277c134a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 07554aa3dbc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index 2d63d2051db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the range object associated with the entire table. - * @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/table-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get the range object associated with the entire table. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 62fc0269ed7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php deleted file mode 100644 index c733a3dd7fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/reapplyFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $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-reapplyfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bdabcedff82..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php deleted file mode 100644 index 3d380523df8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - ]; - } - - /** - * Gets the index property value. The index property - * @return int|null - */ - public function getIndex(): ?int { - $val = $this->getBackingStore()->get('index'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('index', $this->getIndex()); - $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 index property value. The index property - * @param int|null $value Value to set for the index property. - */ - public function setIndex(?int $value): void { - $this->getBackingStore()->set('index', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php deleted file mode 100644 index 05c41b66d7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. - * @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/tablerowcollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index b1b52bb6ae7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.php deleted file mode 100644 index e2984a7d569..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php deleted file mode 100644 index 1f05e6280f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 63f9408b9b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index c450b64ae25..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/{workbookTableRow%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 49cd53ce0df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php deleted file mode 100644 index c59f1912941..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableRowItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/{workbookTableRow%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property rows for storage - * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property rows in storage - * @param WorkbookTableRow $body The request body - * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property rows for storage - * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $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 rows in storage - * @param WorkbookTableRow $body The request body - * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilderPatchRequestConfiguration $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 WorkbookTableRowItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookTableRowItemRequestBuilder { - return new WorkbookTableRowItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 5b7461f6a0d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 68c326dc642..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookTableRowItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 954740ee0fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookTableRowItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableRowItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookTableRowItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookTableRowItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableRowItemRequestBuilderGetQueryParameters { - return new WorkbookTableRowItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b77c33a18e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 5637264acd1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,86 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets a row based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets a row based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a55f04b2d94..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index 9677220cc5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bd37d3d8b20..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php deleted file mode 100644 index 5130427e647..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - * @param string $workbookTableRowId The unique identifier of workbookTableRow - * @return WorkbookTableRowItemRequestBuilder - */ - public function byWorkbookTableRowId(string $workbookTableRowId): WorkbookTableRowItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTableRow%2Did'] = $workbookTableRowId; - return new WorkbookTableRowItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new RowsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRowCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $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 RowsRequestBuilder - */ - public function withUrl(string $rawUrl): RowsRequestBuilder { - return new RowsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php deleted file mode 100644 index b7931fc852f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b16859660e4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RowsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RowsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RowsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RowsRequestBuilderGetQueryParameters { - return new RowsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 207ca6ba231..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.php deleted file mode 100644 index 2acd6994bea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.php +++ /dev/null @@ -1,162 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyPostRequestBody { - return new ApplyPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'fields' => fn(ParseNode $n) => $o->setFields($n->getCollectionOfObjectValues([WorkbookSortField::class, 'createFromDiscriminatorValue'])), - 'matchCase' => fn(ParseNode $n) => $o->setMatchCase($n->getBooleanValue()), - 'method' => fn(ParseNode $n) => $o->setMethod($n->getStringValue()), - ]; - } - - /** - * Gets the fields property value. The fields property - * @return array|null - */ - public function getFields(): ?array { - $val = $this->getBackingStore()->get('fields'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, WorkbookSortField::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fields'"); - } - - /** - * Gets the matchCase property value. The matchCase property - * @return bool|null - */ - public function getMatchCase(): ?bool { - $val = $this->getBackingStore()->get('matchCase'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'matchCase'"); - } - - /** - * Gets the method property value. The method property - * @return string|null - */ - public function getMethod(): ?string { - $val = $this->getBackingStore()->get('method'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'method'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeCollectionOfObjectValues('fields', $this->getFields()); - $writer->writeBooleanValue('matchCase', $this->getMatchCase()); - $writer->writeStringValue('method', $this->getMethod()); - $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 fields property value. The fields property - * @param array|null $value Value to set for the fields property. - */ - public function setFields(?array $value): void { - $this->getBackingStore()->set('fields', $value); - } - - /** - * Sets the matchCase property value. The matchCase property - * @param bool|null $value Value to set for the matchCase property. - */ - public function setMatchCase(?bool $value): void { - $this->getBackingStore()->set('matchCase', $value); - } - - /** - * Sets the method property value. The method property - * @param string|null $value Value to set for the method property. - */ - public function setMethod(?string $value): void { - $this->getBackingStore()->set('method', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php deleted file mode 100644 index 1caf60a6a3a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort/apply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Perform a sort operation. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-1.0 Find more info here - */ - public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Perform a sort operation. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $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 ApplyRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyRequestBuilder { - return new ApplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1b0a2568c7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php deleted file mode 100644 index 27f78902bce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6b42fa659cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php deleted file mode 100644 index 3d1914cb23d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort/reapply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies the current sorting parameters to the table. - * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies the current sorting parameters to the table. - * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyRequestBuilder { - return new ReapplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c2cb8afadb9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php deleted file mode 100644 index 5d26239ee3a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php +++ /dev/null @@ -1,168 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the clear method. - */ - public function clear(): ClearRequestBuilder { - return new ClearRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapply method. - */ - public function reapply(): ReapplyRequestBuilder { - return new ReapplyRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new SortRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SortRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SortRequestBuilderGetRequestConfiguration $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 sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $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 SortRequestBuilder - */ - public function withUrl(string $rawUrl): SortRequestBuilder { - return new SortRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6f9eb0cc1dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php deleted file mode 100644 index c8c5714a604..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SortRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 32ea756482e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SortRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SortRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SortRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SortRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SortRequestBuilderGetQueryParameters { - return new SortRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a5e74ea3e9a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index 4a66322e424..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6965ba4f977..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php deleted file mode 100644 index 9d742ffa6aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php +++ /dev/null @@ -1,232 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the convertToRange method. - */ - public function convertToRange(): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dataBodyRange method. - */ - public function dataBodyRange(): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapplyFilters method. - */ - public function reapplyFilters(): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - */ - public function rows(): RowsRequestBuilder { - return new RowsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. - */ - public function sort(): SortRequestBuilder { - return new SortRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property tables for storage - * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookTableItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of tables associated with the workbook. Read-only. - * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookTableItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property tables in storage - * @param WorkbookTable $body The request body - * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTable $body, ?WorkbookTableItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property tables for storage - * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookTableItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of tables associated with the workbook. Read-only. - * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookTableItemRequestBuilderGetRequestConfiguration $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 tables in storage - * @param WorkbookTable $body The request body - * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTable $body, ?WorkbookTableItemRequestBuilderPatchRequestConfiguration $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 WorkbookTableItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookTableItemRequestBuilder { - return new WorkbookTableItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0619398c0f5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0d416ef6bdb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookTableItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a959f65c7d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookTableItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookTableItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookTableItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableItemRequestBuilderGetQueryParameters { - return new WorkbookTableItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0f203f62ceb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index 549e9f31b22..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 233ab486f5b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 155709fe33c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php deleted file mode 100644 index b59ecc95f09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/clearFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $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-clearfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ClearFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ClearFiltersRequestBuilder { - return new ClearFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e5119d6595d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index 95dca871d30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumnCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 86db7d63482..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 557bacd4e1e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8f4062ae0d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php deleted file mode 100644 index ff7419bb4b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/convertToRange'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $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-converttorange?view=graph-rest-1.0 Find more info here - */ - public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostRequestConfiguration $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"); - 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 ConvertToRangeRequestBuilder - */ - public function withUrl(string $rawUrl): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 79aba3c9418..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 9b8eb40e22d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 36ca8779388..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 72f871cd1da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 97eef88b5e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 622520a54df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,165 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the convertToRange method. - */ - public function convertToRange(): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dataBodyRange method. - */ - public function dataBodyRange(): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapplyFilters method. - */ - public function reapplyFilters(): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - */ - public function rows(): RowsRequestBuilder { - return new RowsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. - */ - public function sort(): SortRequestBuilder { - return new SortRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function itemAt - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function itemAt - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5eacfab6233..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index b4538909010..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the range object associated with the entire table. - * @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/table-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get the range object associated with the entire table. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5ef75f2ecb2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php deleted file mode 100644 index d3c11bc43ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/reapplyFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $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-reapplyfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 56f6f95065f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php deleted file mode 100644 index 760fb287a3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/rows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRowCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $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 RowsRequestBuilder - */ - public function withUrl(string $rawUrl): RowsRequestBuilder { - return new RowsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 92d6b8a379c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ab71d1d5685..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RowsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RowsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RowsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RowsRequestBuilderGetQueryParameters { - return new RowsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c79fedb3a5c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php deleted file mode 100644 index dc4bd4d40ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/sort{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SortRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SortRequestBuilderGetRequestConfiguration $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 sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $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 SortRequestBuilder - */ - public function withUrl(string $rawUrl): SortRequestBuilder { - return new SortRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e1bb2e65a1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6648b8e246e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SortRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f15eb812e62..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SortRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SortRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SortRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SortRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SortRequestBuilderGetQueryParameters { - return new SortRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f73a97d0e11..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index b6d8bc443fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c9b49c791ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index ee3c075e0a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 8a40447a2e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a439c1fc0fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilder.php deleted file mode 100644 index ac21e577af9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the tables property of the microsoft.graph.workbook entity. - * @param string $workbookTableId The unique identifier of workbookTable - * @return WorkbookTableItemRequestBuilder - */ - public function byWorkbookTableId(string $workbookTableId): WorkbookTableItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTable%2Did'] = $workbookTableId; - return new WorkbookTableItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new TablesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/tables{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of tables associated with the workbook. Read-only. - * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to tables for storage - * @param WorkbookTable $body The request body - * @param TablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of tables associated with the workbook. Read-only. - * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to tables for storage - * @param WorkbookTable $body The request body - * @param TablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfiguration $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 TablesRequestBuilder - */ - public function withUrl(string $rawUrl): TablesRequestBuilder { - return new TablesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php deleted file mode 100644 index dd63ac3159c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new TablesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6d7b6b2901e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TablesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TablesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TablesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return TablesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TablesRequestBuilderGetQueryParameters { - return new TablesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c5bbce0070a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/TablesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilder.php deleted file mode 100644 index b683a97525d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilder.php +++ /dev/null @@ -1,244 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the closeSession method. - */ - public function closeSession(): CloseSessionRequestBuilder { - return new CloseSessionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the comments property of the microsoft.graph.workbook entity. - */ - public function comments(): CommentsRequestBuilder { - return new CommentsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the createSession method. - */ - public function createSession(): CreateSessionRequestBuilder { - return new CreateSessionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the functions property of the microsoft.graph.workbook entity. - */ - public function functions(): FunctionsRequestBuilder { - return new FunctionsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the names property of the microsoft.graph.workbook entity. - */ - public function names(): NamesRequestBuilder { - return new NamesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the operations property of the microsoft.graph.workbook entity. - */ - public function operations(): OperationsRequestBuilder { - return new OperationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the refreshSession method. - */ - public function refreshSession(): RefreshSessionRequestBuilder { - return new RefreshSessionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the tables property of the microsoft.graph.workbook entity. - */ - public function tables(): TablesRequestBuilder { - return new TablesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheets property of the microsoft.graph.workbook entity. - */ - public function worksheets(): WorksheetsRequestBuilder { - return new WorksheetsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property workbook for storage - * @param WorkbookRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. - * @param WorkbookRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Workbook::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property workbook in storage - * @param Workbook $body The request body - * @param WorkbookRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(Workbook $body, ?WorkbookRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [Workbook::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the sessionInfoResource method. - * @param string $key Usage: key='{key}' - * @return SessionInfoResourceWithKeyRequestBuilder - */ - public function sessionInfoResourceWithKey(string $key): SessionInfoResourceWithKeyRequestBuilder { - return new SessionInfoResourceWithKeyRequestBuilder($this->pathParameters, $this->requestAdapter, $key); - } - - /** - * Provides operations to call the tableRowOperationResult method. - * @param string $key Usage: key='{key}' - * @return TableRowOperationResultWithKeyRequestBuilder - */ - public function tableRowOperationResultWithKey(string $key): TableRowOperationResultWithKeyRequestBuilder { - return new TableRowOperationResultWithKeyRequestBuilder($this->pathParameters, $this->requestAdapter, $key); - } - - /** - * Delete navigation property workbook for storage - * @param WorkbookRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. - * @param WorkbookRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookRequestBuilderGetRequestConfiguration $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 workbook in storage - * @param Workbook $body The request body - * @param WorkbookRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(Workbook $body, ?WorkbookRequestBuilderPatchRequestConfiguration $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 WorkbookRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookRequestBuilder { - return new WorkbookRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0b325f8d0db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php deleted file mode 100644 index f91ebd51bde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.php deleted file mode 100644 index 9f741359e77..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('name', $this->getName()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php deleted file mode 100644 index 6cea739eb3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Add a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you want to activate the newly added worksheet, call .activate() on it. - * @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/worksheetcollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Add a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you want to activate the newly added worksheet, call .activate() on it. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f8a7bfe2952..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.php deleted file mode 100644 index a8913761e00..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 99906c67996..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 92b9f1fedc1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php deleted file mode 100644 index 75c0c2c0045..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $column Usage: column={column} - * @param int|null $row Usage: row={row} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $column = null, ?int $row = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/cell(row={row},column={column})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['column'] = $column; - $urlTplParams['row'] = $row; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. - * @param CellWithRowWithColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/worksheet-cell?view=graph-rest-1.0 Find more info here - */ - public function get(?CellWithRowWithColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. - * @param CellWithRowWithColumnRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CellWithRowWithColumnRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CellWithRowWithColumnRequestBuilder - */ - public function withUrl(string $rawUrl): CellWithRowWithColumnRequestBuilder { - return new CellWithRowWithColumnRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bfc65bcd1ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php deleted file mode 100644 index 9d3e8fb363a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), - ]; - } - - /** - * Gets the seriesBy property value. The seriesBy property - * @return string|null - */ - public function getSeriesBy(): ?string { - $val = $this->getBackingStore()->get('seriesBy'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); - } - - /** - * 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->writeStringValue('seriesBy', $this->getSeriesBy()); - $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 seriesBy property value. The seriesBy property - * @param string|null $value Value to set for the seriesBy property. - */ - public function setSeriesBy(?string $value): void { - $this->getBackingStore()->set('seriesBy', $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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php deleted file mode 100644 index 21ae0be3794..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Creates a new chart. - * @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/chartcollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Creates a new chart. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 844cc19cf94..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php deleted file mode 100644 index 32581b31e29..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php +++ /dev/null @@ -1,161 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity. - * @param string $workbookChartId The unique identifier of workbookChart - * @return WorkbookChartItemRequestBuilder - */ - public function byWorkbookChartId(string $workbookChartId): WorkbookChartItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookChart%2Did'] = $workbookChartId; - return new WorkbookChartItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ChartsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Returns collection of charts that are part of the worksheet. Read-only. - * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ChartsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Provides operations to call the item method. - * @param string $name Usage: name='{name}' - * @return ItemWithNameRequestBuilder - */ - public function itemWithName(string $name): ItemWithNameRequestBuilder { - return new ItemWithNameRequestBuilder($this->pathParameters, $this->requestAdapter, $name); - } - - /** - * Create new navigation property to charts for storage - * @param WorkbookChart $body The request body - * @param ChartsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChart $body, ?ChartsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Returns collection of charts that are part of the worksheet. Read-only. - * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ChartsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to charts for storage - * @param WorkbookChart $body The request body - * @param ChartsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChart $body, ?ChartsRequestBuilderPostRequestConfiguration $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 ChartsRequestBuilder - */ - public function withUrl(string $rawUrl): ChartsRequestBuilder { - return new ChartsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2cd29377c1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ChartsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f1a44872d11..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ChartsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ChartsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ChartsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ChartsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ChartsRequestBuilderGetQueryParameters { - return new ChartsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5b192e16228..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.php deleted file mode 100644 index 4736159ffc2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php deleted file mode 100644 index 5651110a5a7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b51cb1575e2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php deleted file mode 100644 index 394ce46a144..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php +++ /dev/null @@ -1,168 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the seriesAxis property of the microsoft.graph.workbookChartAxes entity. - */ - public function seriesAxis(): SeriesAxisRequestBuilder { - return new SeriesAxisRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the valueAxis property of the microsoft.graph.workbookChartAxes entity. - */ - public function valueAxis(): ValueAxisRequestBuilder { - return new ValueAxisRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new AxesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AxesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AxesRequestBuilderGetRequestConfiguration $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 axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $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 AxesRequestBuilder - */ - public function withUrl(string $rawUrl): AxesRequestBuilder { - return new AxesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index c048aa80726..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5ecd563947c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AxesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 80256332cbd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AxesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AxesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AxesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AxesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AxesRequestBuilderGetQueryParameters { - return new AxesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d1bac03896b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 013e1cb3ef1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetQueryParameters.php deleted file mode 100644 index ce2704e92a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 CategoryAxisRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 71fe6bcbe71..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CategoryAxisRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CategoryAxisRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CategoryAxisRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return CategoryAxisRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): CategoryAxisRequestBuilderGetQueryParameters { - return new CategoryAxisRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index da69cc9b9b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 1ea71393fff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index d58f3a732d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1dc9a6d7866..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d25ae1b85fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a8701ba7fd4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php deleted file mode 100644 index 013a8e9e58d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. - */ - public function line(): LineRequestBuilder { - return new LineRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 29c4f367cfe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index c3742babc08..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b2256a32f33..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 647dd1686e6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index a2760d2265b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 943c9331537..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php deleted file mode 100644 index cdc82c5e0df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6feb3ad39cd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0b8161d413d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 73ddcd4de17..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f3dc95689b9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index c2b012426bc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 927a0a189f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index f947be3105b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b31ab8e3191..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 20e17ed49ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index bccbe2952df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4adb7f7af82..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index f96486b3cbe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 1ab02b29440..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1921b5113f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e89152c6381..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 23fa3cc8452..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php deleted file mode 100644 index 87e523d04a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MajorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MajorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestConfiguration $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 majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $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 MajorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0c24bfc4221..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index e9d4b94f4cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MajorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b2f34bc610d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MajorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MajorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MajorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MajorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MajorGridlinesRequestBuilderGetQueryParameters { - return new MajorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 89ced4e5811..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index 9b4852ba3e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 79820f9c5c5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index a5b0874cc46..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 61c6532824b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 57236f53b6a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index c19dd0788e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2183f19eb00..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 2f809d2a3d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6eee25f7d2f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index ea3d1a206e6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b4b546c3350..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b88c5455e15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php deleted file mode 100644 index 3fba01c3394..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MinorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestConfiguration $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 minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $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 MinorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 7f2356b5d53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 012bb9f30a2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MinorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 62c6ef51c3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MinorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MinorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MinorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MinorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MinorGridlinesRequestBuilderGetQueryParameters { - return new MinorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index c3d05d674fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 00e89ff8a69..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 222275de9dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index ea965dc2382..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a3ea654f158..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0e4d1238f57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php deleted file mode 100644 index 7a660fad9b5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 2d114251540..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index dc5b07085b3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3c447948771..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 4e2a0704239..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php deleted file mode 100644 index 39c76192eaa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new TitleRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $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 title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $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 TitleRequestBuilder - */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b9f28674e67..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2362f7672c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 532f673375e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 3a6bdcc680b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 20f9c3f71d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 25d271b485a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index e1ee7f2bdb9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 84d9cf0437a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f40886ffc8a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php deleted file mode 100644 index 7db3c858039..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. - */ - public function line(): LineRequestBuilder { - return new LineRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index cdefdeb6f56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index d82efa52559..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b13f31bb87b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 19cbaf62491..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 6a3a167803f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index fb8df58488a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 1c93d870252..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index fb06d2da059..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 335e0d144e0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b71c8e3b59e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e095dc8c7cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index de93b730962..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index fe29949dd33..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 53333937b93..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 21073fa3cc4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0273c4ee9d0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 83f51403d71..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a0f0658eefc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 37d54afe874..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index bc82c04baef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index e460e26e49c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 747c09b0839..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a831fa26ec7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php deleted file mode 100644 index 7f702444769..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MajorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MajorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestConfiguration $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 majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $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 MajorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 72954aa1b99..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index fc82aa9f9ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MajorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d9cdbbd6a37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MajorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MajorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MajorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MajorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MajorGridlinesRequestBuilderGetQueryParameters { - return new MajorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 85b2529f559..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index 667adc2e06a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 250729777a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 33035af3405..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e9db7c92b82..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 1fb452bc3a1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 5ebcc27ce8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2daca3d507d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 9103e112524..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index ac5f05758bf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2b8b551beee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5b6c9d05de8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d2b336be307..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php deleted file mode 100644 index 651405125de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MinorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestConfiguration $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 minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $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 MinorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b5cce8ed379..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 37dcc33101e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MinorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a06d1485c82..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MinorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MinorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MinorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MinorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MinorGridlinesRequestBuilderGetQueryParameters { - return new MinorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e1567c0fac7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php deleted file mode 100644 index 3938ff608e2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php +++ /dev/null @@ -1,176 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function majorGridlines(): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function minorGridlines(): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new SeriesAxisRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property seriesAxis for storage - * @param SeriesAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?SeriesAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the series axis of a 3-dimensional chart. Read-only. - * @param SeriesAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SeriesAxisRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property seriesAxis in storage - * @param WorkbookChartAxis $body The request body - * @param SeriesAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxis $body, ?SeriesAxisRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property seriesAxis for storage - * @param SeriesAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?SeriesAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the series axis of a 3-dimensional chart. Read-only. - * @param SeriesAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SeriesAxisRequestBuilderGetRequestConfiguration $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 seriesAxis in storage - * @param WorkbookChartAxis $body The request body - * @param SeriesAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxis $body, ?SeriesAxisRequestBuilderPatchRequestConfiguration $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 SeriesAxisRequestBuilder - */ - public function withUrl(string $rawUrl): SeriesAxisRequestBuilder { - return new SeriesAxisRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 7cd8636dd87..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetQueryParameters.php deleted file mode 100644 index 660dee928a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SeriesAxisRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0ba647df8a6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SeriesAxisRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SeriesAxisRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SeriesAxisRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SeriesAxisRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SeriesAxisRequestBuilderGetQueryParameters { - return new SeriesAxisRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b81803ebeb0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 6db4f191588..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index ed3652e449d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7b5aa0c4e3d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index df3667a1ae8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 72055ad5617..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php deleted file mode 100644 index 2a40a9c6950..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 7d46027a563..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index a820fdab072..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a47272ff53c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e7cd1828b76..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php deleted file mode 100644 index c7aa0052311..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new TitleRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $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 title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $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 TitleRequestBuilder - */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 089075c03c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index a6ebee779ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6288554f638..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 203b3207936..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 255a25f651a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 3093955f531..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index d7e08e68671..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a1c9ed54a70..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 30da85d4535..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php deleted file mode 100644 index be51a40ce6a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the line property of the microsoft.graph.workbookChartAxisFormat entity. - */ - public function line(): LineRequestBuilder { - return new LineRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart object, which includes line and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 4d091424fce..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index e034c02f52e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f5ea3b93136..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 4f7cfdcc0e9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index ee71e720484..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a83ba889b1f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php deleted file mode 100644 index a80deb26864..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index cdb63a20650..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7b197844c64..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bfc01a5412d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 3e0fd6d8ffd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index 1f967bb2803..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 3f9e45cb0c5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5f17569fae8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9c7ec4e78eb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index aab70a3963b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 23366e80d5d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1e7e6fbdf3a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 71e1a1a976f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 353c3658bc3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index c55691f6030..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 776091c2728..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 045e623f41d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php deleted file mode 100644 index db3167798f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MajorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MajorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property majorGridlines for storage - * @param MajorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. - * @param MajorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestConfiguration $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 majorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MajorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGridlinesRequestBuilderPatchRequestConfiguration $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 MajorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 040bed82f0b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 94402eb806f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MajorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 69a6c655e7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MajorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MajorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MajorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MajorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MajorGridlinesRequestBuilderGetQueryParameters { - return new MajorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 45c311629e4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php deleted file mode 100644 index f0a971cf3a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlinesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart gridlines. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartGridlinesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 60a6ca05dba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 8ada5456ff4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4fba7893f3b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index fd340becc6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 1f42c478f7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 850711d6b84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php deleted file mode 100644 index d51601d6edf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 93255e0e961..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index 83520905ef8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 593f122a913..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index c3e0d04081f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php deleted file mode 100644 index 4884770041e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new MinorGridlinesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartGridlines::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property minorGridlines for storage - * @param MinorGridlinesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. - * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestConfiguration $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 minorGridlines in storage - * @param WorkbookChartGridlines $body The request body - * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGridlinesRequestBuilderPatchRequestConfiguration $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 MinorGridlinesRequestBuilder - */ - public function withUrl(string $rawUrl): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 63a4b2c3523..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 78e705c7a1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 MinorGridlinesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 49c8060b855..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MinorGridlinesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MinorGridlinesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MinorGridlinesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MinorGridlinesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MinorGridlinesRequestBuilderGetQueryParameters { - return new MinorGridlinesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 1125fd69110..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 3a54807b3dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index be6e2caccaa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0dfc9e40131..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f1c966cfc21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 58b0699dd4c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php deleted file mode 100644 index 1f0d2e12249..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of chart axis title. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAxisTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index ffd5f68639e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 88b494fee1c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f06c6eaaa30..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e1e2f52f3a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php deleted file mode 100644 index 3d3a5ded4dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new TitleRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the axis title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $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 title in storage - * @param WorkbookChartAxisTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $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 TitleRequestBuilder - */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 41f31ab8a3a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index 790b82c6815..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8b8ca4cbd93..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 918aac96097..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php deleted file mode 100644 index 51408b8d6f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php +++ /dev/null @@ -1,176 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the majorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function majorGridlines(): MajorGridlinesRequestBuilder { - return new MajorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the minorGridlines property of the microsoft.graph.workbookChartAxis entity. - */ - public function minorGridlines(): MinorGridlinesRequestBuilder { - return new MinorGridlinesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChartAxis entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ValueAxisRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property valueAxis for storage - * @param ValueAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ValueAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the value axis in an axis. Read-only. - * @param ValueAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ValueAxisRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property valueAxis in storage - * @param WorkbookChartAxis $body The request body - * @param ValueAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxis $body, ?ValueAxisRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxis::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property valueAxis for storage - * @param ValueAxisRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ValueAxisRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the value axis in an axis. Read-only. - * @param ValueAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ValueAxisRequestBuilderGetRequestConfiguration $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 valueAxis in storage - * @param WorkbookChartAxis $body The request body - * @param ValueAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxis $body, ?ValueAxisRequestBuilderPatchRequestConfiguration $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 ValueAxisRequestBuilder - */ - public function withUrl(string $rawUrl): ValueAxisRequestBuilder { - return new ValueAxisRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0510022764e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2b3c032074e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ValueAxisRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f462f381643..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ValueAxisRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ValueAxisRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ValueAxisRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ValueAxisRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ValueAxisRequestBuilderGetQueryParameters { - return new ValueAxisRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index e4ec6d6eaa3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php deleted file mode 100644 index 2bd54bfe8f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DataLabelsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DataLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataLabelsRequestBuilderGetRequestConfiguration $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 dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $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 DataLabelsRequestBuilder - */ - public function withUrl(string $rawUrl): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index bc611d7d299..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6bfb1bfeac6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DataLabelsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 164a25abc43..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DataLabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DataLabelsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DataLabelsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DataLabelsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DataLabelsRequestBuilderGetQueryParameters { - return new DataLabelsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d391c0cab58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index 8d0391d3d40..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 66ac7dac934..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index 03ef7db0f00..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of the current chart data label. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of the current chart data label. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e4399881d62..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0d3165515d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6659b836bf9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 808e98741a5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index f9a26cdd8ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index b1856ec9ea0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 016f0b999ae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 901c050ccb8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index f74ed19621d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7840f6b3050..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ad2fe0b475a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 4036e4b5982..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php deleted file mode 100644 index 0ee048a0e2d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the font property of the microsoft.graph.workbookChartDataLabelFormat entity. - */ - public function font(): FontRequestBuilder { - return new FontRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the format of chart data labels, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabelFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartDataLabelFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartDataLabelFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabelFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the format of chart data labels, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartDataLabelFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartDataLabelFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index abebe79d98b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index cbd99201546..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f330093ddd9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index a13b6cfe4e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index 3fc0f1b56e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index bca93c52834..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index f12f25b860e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of an object, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of an object, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index be6247e482d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1fce7cedf1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a19948f091d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 92bd2b152ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index 403035805c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index c1c8ebaf901..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 97d17b099f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 4de4aa0349d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 5c99074e373..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index d9ffd7d20ca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f57e8a44c6f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index df6e9a21474..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php deleted file mode 100644 index a0ef4975b5f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the font property of the microsoft.graph.workbookChartAreaFormat entity. - */ - public function font(): FontRequestBuilder { - return new FontRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b9e895b8216..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index b93a92dbb99..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0d111260d43..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 28b72394dd3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.php deleted file mode 100644 index 813803cb5f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageGetResponse { - return new ImageGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php deleted file mode 100644 index 04aec3facb8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/image()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageRequestBuilder - */ - public function withUrl(string $rawUrl): ImageRequestBuilder { - return new ImageRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a2ace11af2c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.php deleted file mode 100644 index a6a7b4feaba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthGetResponse { - return new ImageWithWidthGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php deleted file mode 100644 index 209288739eb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/image(width={width})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c2bccbbd0dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php deleted file mode 100644 index 13e39804b11..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightGetResponse { - return new ImageWithWidthWithHeightGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php deleted file mode 100644 index 2319405dc6c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/image(width={width},height={height})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index edf8295adfa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php deleted file mode 100644 index 8879b1fbf92..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightWithFittingModeGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightWithFittingModeGetResponse { - return new ImageWithWidthWithHeightWithFittingModeGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php deleted file mode 100644 index 46a20bc9a8b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $fittingMode Usage: fittingMode='{fittingMode}' - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $fittingMode = null, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/image(width={width},height={height},fittingMode=\'{fittingMode}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['fittingMode'] = $fittingMode; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightWithFittingModeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8d2dd64d228..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index 4052b83d0b7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f91f769d026..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index f3f7b47c03e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of an object, which includes background formating information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of an object, which includes background formating information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b93b5983962..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7c34b1cad58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aea10c8d6dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 2c9f57e4438..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index a3db274e029..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index a12e59b61fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 40b361dceb6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php deleted file mode 100644 index 788d93d7be8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b5e9d38c2a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 591e67f22e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b24d38ca457..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 18b76e0d2a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php deleted file mode 100644 index c92209388d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the font property of the microsoft.graph.workbookChartLegendFormat entity. - */ - public function font(): FontRequestBuilder { - return new FontRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegendFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartLegendFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLegendFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegendFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartLegendFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLegendFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index edbfe860032..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 934b0de788f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d43496452d0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 3b31689b6df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php deleted file mode 100644 index 80a478ca371..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LegendRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LegendRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LegendRequestBuilderGetRequestConfiguration $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 legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $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 LegendRequestBuilder - */ - public function withUrl(string $rawUrl): LegendRequestBuilder { - return new LegendRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index de470f7bc41..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php deleted file mode 100644 index 10995d30740..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LegendRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 97286c90e94..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LegendRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LegendRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LegendRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LegendRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LegendRequestBuilderGetQueryParameters { - return new LegendRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 9200ae42146..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.php deleted file mode 100644 index 1d02af8fb7f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php deleted file mode 100644 index c6730ec8f7e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7e54b063a9d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index dfa43438082..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 0ae03139ed1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index b561d98cef0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of a chart series, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of a chart series, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b0d1603a4cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4ca083f699c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8c345ab5c4a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 21875d9d9fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index ec8749fea86..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index 30951d83951..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2f2424102dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php deleted file mode 100644 index 15abbe25f8a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the line property of the microsoft.graph.workbookChartSeriesFormat entity. - */ - public function line(): LineRequestBuilder { - return new LineRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartSeriesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartSeriesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartSeriesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartSeriesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 8d73fd15f20..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 52e5a9a10dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c815942ee5b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0731b858599..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php deleted file mode 100644 index 782c8be3ab6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/line/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the line format of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 8ccf2b4cd7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php deleted file mode 100644 index 286b85bfdeb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LineRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/line{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LineRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLineFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property line for storage - * @param LineRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents line formatting. Read-only. - * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LineRequestBuilderGetRequestConfiguration $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 line in storage - * @param WorkbookChartLineFormat $body The request body - * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRequestBuilderPatchRequestConfiguration $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 LineRequestBuilder - */ - public function withUrl(string $rawUrl): LineRequestBuilder { - return new LineRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index a00f4bf5159..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetQueryParameters.php deleted file mode 100644 index a7bc8e8322a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LineRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9998f1b177d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LineRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LineRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LineRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LineRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LineRequestBuilderGetQueryParameters { - return new LineRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0797c11521a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.php deleted file mode 100644 index 127bdaf54aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php deleted file mode 100644 index 87ea8766c48..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d53f30fce45..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index 69515940a04..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 66bc5460c02..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index 41d9e71769a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of a chart, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of a chart, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index ffa0c156b40..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 12abcd26834..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 54440ac16ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 7abdcd9b0a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index 31c38b0b2a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index 3425dd96ad4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 773fedf5f22..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php deleted file mode 100644 index 0ef8c362d88..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Encapsulates the format properties chart point. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartPointFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartPointFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Encapsulates the format properties chart point. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartPointFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartPointFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 035d6f3033c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index a8ddf8c3a56..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e6701cfdaef..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d0b52cb38da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index c048d3ed88d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 5883a38fe03..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookChartPointItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 128142e7c1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookChartPointItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookChartPointItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookChartPointItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookChartPointItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookChartPointItemRequestBuilderGetQueryParameters { - return new WorkbookChartPointItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index cb0acc3eaed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php deleted file mode 100644 index be38114db90..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/itemAt(index={index})/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Encapsulates the format properties chart point. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartPointFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartPointFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Encapsulates the format properties chart point. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartPointFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartPointFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6d591bfc028..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 91d22d8d7c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6b5f2f4bb76..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 5a270c74ede..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 37c92bf92ab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,86 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Retrieve a point based on its position within the series. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartpointscollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPoint::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Retrieve a point based on its position within the series. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4792ca6f6f4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php deleted file mode 100644 index 6ade387fb38..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php +++ /dev/null @@ -1,143 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. - * @param string $workbookChartPointId The unique identifier of workbookChartPoint - * @return WorkbookChartPointItemRequestBuilder - */ - public function byWorkbookChartPointId(string $workbookChartPointId): WorkbookChartPointItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookChartPoint%2Did'] = $workbookChartPointId; - return new WorkbookChartPointItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new PointsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all points in the series. Read-only. - * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to points for storage - * @param WorkbookChartPoint $body The request body - * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPoint::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all points in the series. Read-only. - * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to points for storage - * @param WorkbookChartPoint $body The request body - * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestConfiguration $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 PointsRequestBuilder - */ - public function withUrl(string $rawUrl): PointsRequestBuilder { - return new PointsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 9bee3ab4f21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PointsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ca59fb605f2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PointsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PointsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PointsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PointsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PointsRequestBuilderGetQueryParameters { - return new PointsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1a11877e8d3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index f88708bbc62..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookChartSeriesItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php deleted file mode 100644 index ef39aa6f443..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartSeriesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartSeriesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartSeriesFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartSeriesFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index d967f63b256..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index f26104e58e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 658e14f7228..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 3392ef552a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index f19215ae0b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,94 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. - */ - public function points(): PointsRequestBuilder { - return new PointsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Retrieves a series based on its position in the collection - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartseriescollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Retrieves a series based on its position in the collection - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b98a0c864b6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php deleted file mode 100644 index d1e5515809a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/points{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all points in the series. Read-only. - * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPointCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to points for storage - * @param WorkbookChartPoint $body The request body - * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartPoint::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all points in the series. Read-only. - * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to points for storage - * @param WorkbookChartPoint $body The request body - * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestConfiguration $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 PointsRequestBuilder - */ - public function withUrl(string $rawUrl): PointsRequestBuilder { - return new PointsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 4dd79a6e675..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PointsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2d04d86ad79..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PointsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PointsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PointsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PointsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PointsRequestBuilderGetQueryParameters { - return new PointsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 5f3bda7b8a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php deleted file mode 100644 index c4aae562170..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php +++ /dev/null @@ -1,143 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the series property of the microsoft.graph.workbookChart entity. - * @param string $workbookChartSeriesId The unique identifier of workbookChartSeries - * @return WorkbookChartSeriesItemRequestBuilder - */ - public function byWorkbookChartSeriesId(string $workbookChartSeriesId): WorkbookChartSeriesItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookChartSeries%2Did'] = $workbookChartSeriesId; - return new WorkbookChartSeriesItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new SeriesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $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 SeriesRequestBuilder - */ - public function withUrl(string $rawUrl): SeriesRequestBuilder { - return new SeriesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0efd6394cbe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8ee14ba1ba7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SeriesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SeriesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SeriesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SeriesRequestBuilderGetQueryParameters { - return new SeriesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3fba10d82f7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php deleted file mode 100644 index d464afa4d4a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/setData'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $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-setdata?view=graph-rest-1.0 Find more info here - */ - public function post(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $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 SetDataRequestBuilder - */ - public function withUrl(string $rawUrl): SetDataRequestBuilder { - return new SetDataRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 00eb6e9c021..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php deleted file mode 100644 index 8c68c1eaf7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetPositionPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetPositionPostRequestBody { - return new SetPositionPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php deleted file mode 100644 index dfd597774be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/setPosition'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $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-setposition?view=graph-rest-1.0 Find more info here - */ - public function post(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $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 SetPositionRequestBuilder - */ - public function withUrl(string $rawUrl): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3cabea49184..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php deleted file mode 100644 index bb99430ed11..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/fill/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the fill color of a chart element. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c463d4cae8a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php deleted file mode 100644 index 988922e95b3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setSolidColor method. - */ - public function setSolidColor(): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FillRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/fill{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the fill format of an object, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FillRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFill::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property fill for storage - * @param FillRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the fill format of an object, which includes background formatting information. Read-only. - * @param FillRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FillRequestBuilderGetRequestConfiguration $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 fill in storage - * @param WorkbookChartFill $body The request body - * @param FillRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestBuilderPatchRequestConfiguration $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 FillRequestBuilder - */ - public function withUrl(string $rawUrl): FillRequestBuilder { - return new FillRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 556c31b6d76..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetQueryParameters.php deleted file mode 100644 index 126eae2a7ac..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FillRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 489b92cb884..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FillRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FillRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FillRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FillRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FillRequestBuilderGetQueryParameters { - return new FillRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 2082d80a6ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php deleted file mode 100644 index 857680deb8e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetSolidColorPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetSolidColorPostRequestBody { - return new SetSolidColorPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php deleted file mode 100644 index 3b8cb928222..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/fill/setSolidColor'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 Find more info here - */ - public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Sets the fill formatting of a chart element to a uniform color. - * @param SetSolidColorPostRequestBody $body The request body - * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBuilderPostRequestConfiguration $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 SetSolidColorRequestBuilder - */ - public function withUrl(string $rawUrl): SetSolidColorRequestBuilder { - return new SetSolidColorRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1d062aca09e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php deleted file mode 100644 index d97fca0e2f5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/font{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FontRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartFont::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property font for storage - * @param FontRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. - * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FontRequestBuilderGetRequestConfiguration $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 font in storage - * @param WorkbookChartFont $body The request body - * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestBuilderPatchRequestConfiguration $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 FontRequestBuilder - */ - public function withUrl(string $rawUrl): FontRequestBuilder { - return new FontRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 51287e454d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetQueryParameters.php deleted file mode 100644 index 070b440f771..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FontRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index fd06d317e53..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FontRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FontRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FontRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FontRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FontRequestBuilderGetQueryParameters { - return new FontRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f29a7b177da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php deleted file mode 100644 index fab519e6b64..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the font property of the microsoft.graph.workbookChartTitleFormat entity. - */ - public function font(): FontRequestBuilder { - return new FontRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FormatRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitleFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartTitleFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartTitleFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 035f430d92b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index d307e393244..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 96c87a43d3d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d58ce5f05d1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php deleted file mode 100644 index 573c8e984a7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new TitleRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $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 title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $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 TitleRequestBuilder - */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index cfafdafa261..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index 294358bf1ec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3f26ede0bbf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 1d8b2a9bf8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php deleted file mode 100644 index 712ef4920cb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php +++ /dev/null @@ -1,257 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. - */ - public function dataLabels(): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the format property of the microsoft.graph.workbookChart entity. - */ - public function format(): FormatRequestBuilder { - return new FormatRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the image method. - */ - public function image(): ImageRequestBuilder { - return new ImageRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. - */ - public function legend(): LegendRequestBuilder { - return new LegendRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the series property of the microsoft.graph.workbookChart entity. - */ - public function series(): SeriesRequestBuilder { - return new SeriesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setData method. - */ - public function setData(): SetDataRequestBuilder { - return new SetDataRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setPosition method. - */ - public function setPosition(): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChart entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookChartItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property charts for storage - * @param WorkbookChartItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookChartItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns collection of charts that are part of the worksheet. Read-only. - * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookChartItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the image method. - * @param int $width Usage: width={width} - * @return ImageWithWidthRequestBuilder - */ - public function imageWithWidth(int $width): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($this->pathParameters, $this->requestAdapter, $width); - } - - /** - * Provides operations to call the image method. - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function imageWithWidthWithHeight(int $height, int $width): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($this->pathParameters, $this->requestAdapter, $height, $width); - } - - /** - * Provides operations to call the image method. - * @param string $fittingMode Usage: fittingMode='{fittingMode}' - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function imageWithWidthWithHeightWithFittingMode(string $fittingMode, int $height, int $width): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($this->pathParameters, $this->requestAdapter, $fittingMode, $height, $width); - } - - /** - * Update the navigation property charts in storage - * @param WorkbookChart $body The request body - * @param WorkbookChartItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChart $body, ?WorkbookChartItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property charts for storage - * @param WorkbookChartItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookChartItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns collection of charts that are part of the worksheet. Read-only. - * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookChartItemRequestBuilderGetRequestConfiguration $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 charts in storage - * @param WorkbookChart $body The request body - * @param WorkbookChartItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChart $body, ?WorkbookChartItemRequestBuilderPatchRequestConfiguration $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 WorkbookChartItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookChartItemRequestBuilder { - return new WorkbookChartItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e39ec83c916..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index c233b996851..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookChartItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0f5229e04c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookChartItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookChartItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookChartItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookChartItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookChartItemRequestBuilderGetQueryParameters { - return new WorkbookChartItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 7ef967eedd5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index b347e1ead2a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index db62b473f84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aab4071cea2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.php deleted file mode 100644 index 8e69de0e8fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/axes{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AxesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AxesRequestBuilderGetRequestConfiguration $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 axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $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 AxesRequestBuilder - */ - public function withUrl(string $rawUrl): AxesRequestBuilder { - return new AxesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 766963bbc5d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetQueryParameters.php deleted file mode 100644 index d0aec0cc734..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AxesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ad4f05feb49..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AxesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AxesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AxesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AxesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AxesRequestBuilderGetQueryParameters { - return new AxesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index aaac5289e7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Axes/AxesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.php deleted file mode 100644 index 5dcf522e38c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/dataLabels{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DataLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataLabelsRequestBuilderGetRequestConfiguration $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 dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $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 DataLabelsRequestBuilder - */ - public function withUrl(string $rawUrl): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index eb90eb93c14..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php deleted file mode 100644 index bef76bd1371..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DataLabelsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c18d9fa06ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DataLabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DataLabelsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DataLabelsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DataLabelsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DataLabelsRequestBuilderGetQueryParameters { - return new DataLabelsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 20f65ce7dd3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.php deleted file mode 100644 index 3b6ed259fe8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 40aaca4743c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index bdfd33a2447..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bddc139e894..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 799e1f008fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.php deleted file mode 100644 index 1ee23c9bb42..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageGetResponse { - return new ImageGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.php deleted file mode 100644 index 86c011254a8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/image()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageRequestBuilder - */ - public function withUrl(string $rawUrl): ImageRequestBuilder { - return new ImageRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f2f04cf17f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Image/ImageRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.php deleted file mode 100644 index 2c9f25e39d4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthGetResponse { - return new ImageWithWidthGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.php deleted file mode 100644 index 5781221694d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/image(width={width})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6f780bc70a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php deleted file mode 100644 index dc1187d0ffa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightGetResponse { - return new ImageWithWidthWithHeightGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php deleted file mode 100644 index 9f8aac99e96..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/image(width={width},height={height})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 560a3d35e11..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php deleted file mode 100644 index cd02b0a5953..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightWithFittingModeGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightWithFittingModeGetResponse { - return new ImageWithWidthWithHeightWithFittingModeGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php deleted file mode 100644 index 82f8b24ccd0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $fittingMode Usage: fittingMode='{fittingMode}' - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $fittingMode = null, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/image(width={width},height={height},fittingMode=\'{fittingMode}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['fittingMode'] = $fittingMode; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightWithFittingModeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c34fd9f289b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 2bfef9eb94c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,191 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. - */ - public function dataLabels(): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the format property of the microsoft.graph.workbookChart entity. - */ - public function format(): FormatRequestBuilder { - return new FormatRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the image method. - */ - public function image(): ImageRequestBuilder { - return new ImageRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. - */ - public function legend(): LegendRequestBuilder { - return new LegendRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the series property of the microsoft.graph.workbookChart entity. - */ - public function series(): SeriesRequestBuilder { - return new SeriesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setData method. - */ - public function setData(): SetDataRequestBuilder { - return new SetDataRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setPosition method. - */ - public function setPosition(): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChart entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets a chart based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/chartcollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the image method. - * @param int $width Usage: width={width} - * @return ImageWithWidthRequestBuilder - */ - public function imageWithWidth(int $width): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($this->pathParameters, $this->requestAdapter, $width); - } - - /** - * Provides operations to call the image method. - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function imageWithWidthWithHeight(int $height, int $width): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($this->pathParameters, $this->requestAdapter, $height, $width); - } - - /** - * Provides operations to call the image method. - * @param string $fittingMode Usage: fittingMode='{fittingMode}' - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function imageWithWidthWithHeightWithFittingMode(string $fittingMode, int $height, int $width): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($this->pathParameters, $this->requestAdapter, $fittingMode, $height, $width); - } - - /** - * Gets a chart based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8a9340718fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.php deleted file mode 100644 index 699be2be4c1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/legend{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LegendRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LegendRequestBuilderGetRequestConfiguration $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 legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $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 LegendRequestBuilder - */ - public function withUrl(string $rawUrl): LegendRequestBuilder { - return new LegendRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 5cd3d209309..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetQueryParameters.php deleted file mode 100644 index d32dcdb46c4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LegendRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 58a76007fcd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LegendRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LegendRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LegendRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LegendRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LegendRequestBuilderGetQueryParameters { - return new LegendRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 09ea43ed770..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Legend/LegendRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.php deleted file mode 100644 index 69b7706c1af..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/series{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $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 SeriesRequestBuilder - */ - public function withUrl(string $rawUrl): SeriesRequestBuilder { - return new SeriesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 83228f31d71..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index bbad0f2ce1b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SeriesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SeriesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SeriesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SeriesRequestBuilderGetQueryParameters { - return new SeriesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a30f4b14332..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Series/SeriesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php deleted file mode 100644 index 9792652c249..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetDataPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetDataPostRequestBody { - return new SetDataPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - ]; - } - - /** - * Gets the seriesBy property value. The seriesBy property - * @return string|null - */ - public function getSeriesBy(): ?string { - $val = $this->getBackingStore()->get('seriesBy'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $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 seriesBy property value. The seriesBy property - * @param string|null $value Value to set for the seriesBy property. - */ - public function setSeriesBy(?string $value): void { - $this->getBackingStore()->set('seriesBy', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.php deleted file mode 100644 index 764dabf2075..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/setData'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $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-setdata?view=graph-rest-1.0 Find more info here - */ - public function post(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $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 SetDataRequestBuilder - */ - public function withUrl(string $rawUrl): SetDataRequestBuilder { - return new SetDataRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 335a5b955f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php deleted file mode 100644 index 67a7016f509..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetPositionPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetPositionPostRequestBody { - return new SetPositionPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.php deleted file mode 100644 index f2729d01ada..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/setPosition'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $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-setposition?view=graph-rest-1.0 Find more info here - */ - public function post(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $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 SetPositionRequestBuilder - */ - public function withUrl(string $rawUrl): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2dd9d479cf1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index edfffdb7433..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3994d442851..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index cc4108bebbf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index b4d7474d9fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index 8a3010065da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index fadd556f12f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b810adc5c5a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.php deleted file mode 100644 index 958594cfdf0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/axes{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?AxesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAxes::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property axes for storage - * @param AxesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?AxesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents chart axes. Read-only. - * @param AxesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?AxesRequestBuilderGetRequestConfiguration $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 axes in storage - * @param WorkbookChartAxes $body The request body - * @param AxesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAxes $body, ?AxesRequestBuilderPatchRequestConfiguration $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 AxesRequestBuilder - */ - public function withUrl(string $rawUrl): AxesRequestBuilder { - return new AxesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 1e5608ed1d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 723324b9de4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 AxesRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5129218d0d2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param AxesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?AxesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new AxesRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return AxesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): AxesRequestBuilderGetQueryParameters { - return new AxesRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index aaf33f969ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Axes/AxesRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.php deleted file mode 100644 index a8e3b4d82de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/dataLabels{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DataLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property dataLabels for storage - * @param DataLabelsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?DataLabelsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the data labels on the chart. Read-only. - * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataLabelsRequestBuilderGetRequestConfiguration $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 dataLabels in storage - * @param WorkbookChartDataLabels $body The request body - * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartDataLabels $body, ?DataLabelsRequestBuilderPatchRequestConfiguration $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 DataLabelsRequestBuilder - */ - public function withUrl(string $rawUrl): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 669671c40a0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 61790c8ad83..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DataLabelsRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c6f2d5e03ca..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DataLabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DataLabelsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DataLabelsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DataLabelsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DataLabelsRequestBuilderGetQueryParameters { - return new DataLabelsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 721e6001051..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/DataLabels/DataLabelsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.php deleted file mode 100644 index 378b421b237..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/format{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FormatRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FormatRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property format for storage - * @param FormatRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Encapsulates the format properties for the chart area. Read-only. - * @param FormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfiguration $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 format in storage - * @param WorkbookChartAreaFormat $body The request body - * @param FormatRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartAreaFormat $body, ?FormatRequestBuilderPatchRequestConfiguration $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 FormatRequestBuilder - */ - public function withUrl(string $rawUrl): FormatRequestBuilder { - return new FormatRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 331e0ac6345..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetQueryParameters.php deleted file mode 100644 index 548c9974901..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FormatRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3b8bf7eaa6d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FormatRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FormatRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FormatRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FormatRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FormatRequestBuilderGetQueryParameters { - return new FormatRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 6c787cd7e4a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Format/FormatRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.php deleted file mode 100644 index 407d3ce0fae..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageGetResponse { - return new ImageGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.php deleted file mode 100644 index 393fa85e1d7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/image()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageRequestBuilder - */ - public function withUrl(string $rawUrl): ImageRequestBuilder { - return new ImageRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 91aa74058cf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Image/ImageRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.php deleted file mode 100644 index 99db05ff937..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthGetResponse { - return new ImageWithWidthGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.php deleted file mode 100644 index ed0bbd9dbde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/image(width={width})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4e8d253e6ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidth/ImageWithWidthRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php deleted file mode 100644 index 78d739d2e72..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightGetResponse { - return new ImageWithWidthWithHeightGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php deleted file mode 100644 index a8c86bcb97a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/image(width={width},height={height})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c3380194cc7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php deleted file mode 100644 index 62201a84732..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ImageWithWidthWithHeightWithFittingModeGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ImageWithWidthWithHeightWithFittingModeGetResponse { - return new ImageWithWidthWithHeightWithFittingModeGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return string|null - */ - public function getValue(): ?string { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param string|null $value Value to set for the value property. - */ - public function setValue(?string $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php deleted file mode 100644 index 3eee1162d5e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $fittingMode Usage: fittingMode='{fittingMode}' - * @param int|null $height Usage: height={height} - * @param int|null $width Usage: width={width} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $fittingMode = null, ?int $height = null, ?int $width = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/image(width={width},height={height},fittingMode=\'{fittingMode}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['fittingMode'] = $fittingMode; - $urlTplParams['height'] = $height; - $urlTplParams['width'] = $width; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ImageWithWidthWithHeightWithFittingModeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function image - * @param ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function withUrl(string $rawUrl): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index eb1a3545071..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php deleted file mode 100644 index 9dfd3eb76ba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php +++ /dev/null @@ -1,190 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the dataLabels property of the microsoft.graph.workbookChart entity. - */ - public function dataLabels(): DataLabelsRequestBuilder { - return new DataLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the format property of the microsoft.graph.workbookChart entity. - */ - public function format(): FormatRequestBuilder { - return new FormatRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the image method. - */ - public function image(): ImageRequestBuilder { - return new ImageRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the legend property of the microsoft.graph.workbookChart entity. - */ - public function legend(): LegendRequestBuilder { - return new LegendRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the series property of the microsoft.graph.workbookChart entity. - */ - public function series(): SeriesRequestBuilder { - return new SeriesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setData method. - */ - public function setData(): SetDataRequestBuilder { - return new SetDataRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the setPosition method. - */ - public function setPosition(): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the title property of the microsoft.graph.workbookChart entity. - */ - public function title(): TitleRequestBuilder { - return new TitleRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemWithNameRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $name Usage: name='{name}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $name = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['name'] = $name; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function item - * @param ItemWithNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemWithNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChart::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the image method. - * @param int $width Usage: width={width} - * @return ImageWithWidthRequestBuilder - */ - public function imageWithWidth(int $width): ImageWithWidthRequestBuilder { - return new ImageWithWidthRequestBuilder($this->pathParameters, $this->requestAdapter, $width); - } - - /** - * Provides operations to call the image method. - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightRequestBuilder - */ - public function imageWithWidthWithHeight(int $height, int $width): ImageWithWidthWithHeightRequestBuilder { - return new ImageWithWidthWithHeightRequestBuilder($this->pathParameters, $this->requestAdapter, $height, $width); - } - - /** - * Provides operations to call the image method. - * @param string $fittingMode Usage: fittingMode='{fittingMode}' - * @param int $height Usage: height={height} - * @param int $width Usage: width={width} - * @return ImageWithWidthWithHeightWithFittingModeRequestBuilder - */ - public function imageWithWidthWithHeightWithFittingMode(string $fittingMode, int $height, int $width): ImageWithWidthWithHeightWithFittingModeRequestBuilder { - return new ImageWithWidthWithHeightWithFittingModeRequestBuilder($this->pathParameters, $this->requestAdapter, $fittingMode, $height, $width); - } - - /** - * Invoke function item - * @param ItemWithNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemWithNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemWithNameRequestBuilder - */ - public function withUrl(string $rawUrl): ItemWithNameRequestBuilder { - return new ItemWithNameRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 94cbb725502..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.php deleted file mode 100644 index 99357a8cd94..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/legend{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LegendRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartLegend::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property legend for storage - * @param LegendRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?LegendRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the legend for the chart. Read-only. - * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LegendRequestBuilderGetRequestConfiguration $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 legend in storage - * @param WorkbookChartLegend $body The request body - * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookChartLegend $body, ?LegendRequestBuilderPatchRequestConfiguration $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 LegendRequestBuilder - */ - public function withUrl(string $rawUrl): LegendRequestBuilder { - return new LegendRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index f1ebaacf525..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7f33c0c391f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LegendRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 709e138ee3f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LegendRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LegendRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LegendRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LegendRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LegendRequestBuilderGetQueryParameters { - return new LegendRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f22dcf3e267..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Legend/LegendRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.php deleted file mode 100644 index cffd76ef21c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/series{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeriesCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartSeries::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents either a single series or collection of series in the chart. Read-only. - * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to series for storage - * @param WorkbookChartSeries $body The request body - * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequestConfiguration $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 SeriesRequestBuilder - */ - public function withUrl(string $rawUrl): SeriesRequestBuilder { - return new SeriesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 1d950868890..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 006435f419f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SeriesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SeriesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SeriesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SeriesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SeriesRequestBuilderGetQueryParameters { - return new SeriesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1d41e7644f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Series/SeriesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php deleted file mode 100644 index 49e4e928218..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetDataPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetDataPostRequestBody { - return new SetDataPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - ]; - } - - /** - * Gets the seriesBy property value. The seriesBy property - * @return string|null - */ - public function getSeriesBy(): ?string { - $val = $this->getBackingStore()->get('seriesBy'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $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 seriesBy property value. The seriesBy property - * @param string|null $value Value to set for the seriesBy property. - */ - public function setSeriesBy(?string $value): void { - $this->getBackingStore()->set('seriesBy', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.php deleted file mode 100644 index 1ced380a0b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/setData'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $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-setdata?view=graph-rest-1.0 Find more info here - */ - public function post(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Resets the source data for the chart. - * @param SetDataPostRequestBody $body The request body - * @param SetDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostRequestConfiguration $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 SetDataRequestBuilder - */ - public function withUrl(string $rawUrl): SetDataRequestBuilder { - return new SetDataRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 91fcd457e57..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php deleted file mode 100644 index 20c061c735e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return SetPositionPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): SetPositionPostRequestBody { - return new SetPositionPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.php deleted file mode 100644 index a7b41a22a9f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/setPosition'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $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-setposition?view=graph-rest-1.0 Find more info here - */ - public function post(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Positions the chart relative to cells on the worksheet. - * @param SetPositionPostRequestBody $body The request body - * @param SetPositionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(SetPositionPostRequestBody $body, ?SetPositionRequestBuilderPostRequestConfiguration $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 SetPositionRequestBuilder - */ - public function withUrl(string $rawUrl): SetPositionRequestBuilder { - return new SetPositionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cf0431121bb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 06742250291..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetQueryParameters.php deleted file mode 100644 index 62f9b175ca6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 TitleRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 717e67898de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TitleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TitleRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TitleRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return TitleRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): TitleRequestBuilderGetQueryParameters { - return new TitleRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 903c7eec8f2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Title/TitleRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index eed13bfe2d0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current chart. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 792f1c7391b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 32edd81c019..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php deleted file mode 100644 index a28f02432a7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * 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 comment property value. The comment property - * @return string|null - */ - public function getComment(): ?string { - $val = $this->getBackingStore()->get('comment'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'comment'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('comment', $this->getComment()); - $writer->writeStringValue('name', $this->getName()); - $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 comment property value. The comment property - * @param string|null $value Value to set for the comment property. - */ - public function setComment(?string $value): void { - $this->getBackingStore()->set('comment', $value); - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php deleted file mode 100644 index ed3ba0145f7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @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/nameditem-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3b85a6a9506..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php deleted file mode 100644 index 1a524bc44ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalPostRequestBody.php +++ /dev/null @@ -1,158 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddFormulaLocalPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddFormulaLocalPostRequestBody { - return new AddFormulaLocalPostRequestBody(); - } - - /** - * 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 comment property value. The comment property - * @return string|null - */ - public function getComment(): ?string { - $val = $this->getBackingStore()->get('comment'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'comment'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), - 'formula' => fn(ParseNode $n) => $o->setFormula($n->getStringValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the formula property value. The formula property - * @return string|null - */ - public function getFormula(): ?string { - $val = $this->getBackingStore()->get('formula'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formula'"); - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('comment', $this->getComment()); - $writer->writeStringValue('formula', $this->getFormula()); - $writer->writeStringValue('name', $this->getName()); - $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 comment property value. The comment property - * @param string|null $value Value to set for the comment property. - */ - public function setComment(?string $value): void { - $this->getBackingStore()->set('comment', $value); - } - - /** - * Sets the formula property value. The formula property - * @param string|null $value Value to set for the formula property. - */ - public function setFormula(?string $value): void { - $this->getBackingStore()->set('formula', $value); - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php deleted file mode 100644 index 2621c499e78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/addFormulaLocal'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddFormulaLocalPostRequestBody $body The request body - * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/nameditem-addformulalocal?view=graph-rest-1.0 Find more info here - */ - public function post(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. - * @param AddFormulaLocalPostRequestBody $body The request body - * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalRequestBuilderPostRequestConfiguration $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 AddFormulaLocalRequestBuilder - */ - public function withUrl(string $rawUrl): AddFormulaLocalRequestBuilder { - return new AddFormulaLocalRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 708e013f65c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.php deleted file mode 100644 index d0c411323eb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index dfb71d2a49f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index c3d2b4d24aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index 26471fc52c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Retrieve the properties and relationships of range object. - * @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 - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Retrieve the properties and relationships of range object. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b5562b82fe7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php deleted file mode 100644 index 4029c50c91d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookNamedItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property names for storage - * @param WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns collection of names that are associated with the worksheet. Read-only. - * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookNamedItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property names in storage - * @param WorkbookNamedItem $body The request body - * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookNamedItem $body, ?WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property names for storage - * @param WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns collection of names that are associated with the worksheet. Read-only. - * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookNamedItemItemRequestBuilderGetRequestConfiguration $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 names in storage - * @param WorkbookNamedItem $body The request body - * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookNamedItem $body, ?WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration $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 WorkbookNamedItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookNamedItemItemRequestBuilder { - return new WorkbookNamedItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 1bac986d0f8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index f45ad700877..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookNamedItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 986d429f617..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookNamedItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookNamedItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookNamedItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookNamedItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookNamedItemItemRequestBuilderGetQueryParameters { - return new WorkbookNamedItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 3d348a2a8af..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index d90f6051a26..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 8c63a2bedab..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6b9365fee45..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php deleted file mode 100644 index fa5e8744030..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php +++ /dev/null @@ -1,149 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the addFormulaLocal method. - */ - public function addFormulaLocal(): AddFormulaLocalRequestBuilder { - return new AddFormulaLocalRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to count the resources in the collection. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. - * @param string $workbookNamedItemId The unique identifier of workbookNamedItem - * @return WorkbookNamedItemItemRequestBuilder - */ - public function byWorkbookNamedItemId(string $workbookNamedItemId): WorkbookNamedItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookNamedItem%2Did'] = $workbookNamedItemId; - return new WorkbookNamedItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new NamesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Returns collection of names that are associated with the worksheet. Read-only. - * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to names for storage - * @param WorkbookNamedItem $body The request body - * @param NamesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookNamedItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Returns collection of names that are associated with the worksheet. Read-only. - * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to names for storage - * @param WorkbookNamedItem $body The request body - * @param NamesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestConfiguration $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 NamesRequestBuilder - */ - public function withUrl(string $rawUrl): NamesRequestBuilder { - return new NamesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 41d0ed8f34e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new NamesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f61acb0e291..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.php deleted file mode 100644 index 2a5b84f3a2a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2b0ee4e1a8b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5304f348f1a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php deleted file mode 100644 index a425da3dcc9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/{workbookPivotTable%2Did}/refresh'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Refreshes the PivotTable. - * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbookpivottable-refresh?view=graph-rest-1.0 Find more info here - */ - public function post(?RefreshRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Refreshes the PivotTable. - * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RefreshRequestBuilderPostRequestConfiguration $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"); - 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 RefreshRequestBuilder - */ - public function withUrl(string $rawUrl): RefreshRequestBuilder { - return new RefreshRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 985b896c849..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php deleted file mode 100644 index 66e20c36680..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookPivotTable entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookPivotTableItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/{workbookPivotTable%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property pivotTables for storage - * @param WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Collection of PivotTables that are part of the worksheet. - * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookPivotTableItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookPivotTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property pivotTables in storage - * @param WorkbookPivotTable $body The request body - * @param WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookPivotTable $body, ?WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookPivotTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property pivotTables for storage - * @param WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Collection of PivotTables that are part of the worksheet. - * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookPivotTableItemRequestBuilderGetRequestConfiguration $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 pivotTables in storage - * @param WorkbookPivotTable $body The request body - * @param WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookPivotTable $body, ?WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration $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 WorkbookPivotTableItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookPivotTableItemRequestBuilder { - return new WorkbookPivotTableItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0b942dbfe99..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 14e04d44ac6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookPivotTableItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookPivotTableItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookPivotTableItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookPivotTableItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookPivotTableItemRequestBuilderGetQueryParameters { - return new WorkbookPivotTableItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 10b92932300..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index 0d41b05b89a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/{workbookPivotTable%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current PivotTable. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current PivotTable. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 21813274aeb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 90630c61df4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php deleted file mode 100644 index 901ad9e67e1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php +++ /dev/null @@ -1,141 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the refreshAll method. - */ - public function refreshAll(): RefreshAllRequestBuilder { - return new RefreshAllRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. - * @param string $workbookPivotTableId The unique identifier of workbookPivotTable - * @return WorkbookPivotTableItemRequestBuilder - */ - public function byWorkbookPivotTableId(string $workbookPivotTableId): WorkbookPivotTableItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookPivotTable%2Did'] = $workbookPivotTableId; - return new WorkbookPivotTableItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new PivotTablesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of PivotTables that are part of the worksheet. - * @param PivotTablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?PivotTablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookPivotTableCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to pivotTables for storage - * @param WorkbookPivotTable $body The request body - * @param PivotTablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookPivotTable $body, ?PivotTablesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookPivotTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of PivotTables that are part of the worksheet. - * @param PivotTablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PivotTablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to pivotTables for storage - * @param WorkbookPivotTable $body The request body - * @param PivotTablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookPivotTable $body, ?PivotTablesRequestBuilderPostRequestConfiguration $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 PivotTablesRequestBuilder - */ - public function withUrl(string $rawUrl): PivotTablesRequestBuilder { - return new PivotTablesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php deleted file mode 100644 index da06279dfc8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new PivotTablesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 11d6c5f7115..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param PivotTablesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?PivotTablesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new PivotTablesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return PivotTablesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PivotTablesRequestBuilderGetQueryParameters { - return new PivotTablesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index ceb3c8cfd09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php deleted file mode 100644 index 182f6b08dcd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/refreshAll'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Refreshes the PivotTable within a given worksheet. - * @param RefreshAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbookpivottable-refreshall?view=graph-rest-1.0 Find more info here - */ - public function post(?RefreshAllRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Refreshes the PivotTable within a given worksheet. - * @param RefreshAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?RefreshAllRequestBuilderPostRequestConfiguration $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"); - 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 RefreshAllRequestBuilder - */ - public function withUrl(string $rawUrl): RefreshAllRequestBuilder { - return new RefreshAllRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c6d265339c3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.php deleted file mode 100644 index d94e2e3989e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ProtectPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ProtectPostRequestBody { - return new ProtectPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'options' => fn(ParseNode $n) => $o->setOptions($n->getObjectValue([WorkbookWorksheetProtectionOptions::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the options property value. The options property - * @return WorkbookWorksheetProtectionOptions|null - */ - public function getOptions(): ?WorkbookWorksheetProtectionOptions { - $val = $this->getBackingStore()->get('options'); - if (is_null($val) || $val instanceof WorkbookWorksheetProtectionOptions) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'options'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('options', $this->getOptions()); - $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 options property value. The options property - * @param WorkbookWorksheetProtectionOptions|null $value Value to set for the options property. - */ - public function setOptions(?WorkbookWorksheetProtectionOptions $value): void { - $this->getBackingStore()->set('options', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php deleted file mode 100644 index 4abf40fd1cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/protection/protect'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Protect a worksheet. It throws if the worksheet has been protected. - * @param ProtectPostRequestBody $body The request body - * @param ProtectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/worksheetprotection-protect?view=graph-rest-1.0 Find more info here - */ - public function post(ProtectPostRequestBody $body, ?ProtectRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Protect a worksheet. It throws if the worksheet has been protected. - * @param ProtectPostRequestBody $body The request body - * @param ProtectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ProtectPostRequestBody $body, ?ProtectRequestBuilderPostRequestConfiguration $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 ProtectRequestBuilder - */ - public function withUrl(string $rawUrl): ProtectRequestBuilder { - return new ProtectRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index de88f16bd15..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php deleted file mode 100644 index d6d54296423..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php +++ /dev/null @@ -1,160 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the unprotect method. - */ - public function unprotect(): UnprotectRequestBuilder { - return new UnprotectRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ProtectionRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/protection{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property protection for storage - * @param ProtectionRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ProtectionRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Returns sheet protection object for a worksheet. Read-only. - * @param ProtectionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ProtectionRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheetProtection::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property protection in storage - * @param WorkbookWorksheetProtection $body The request body - * @param ProtectionRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookWorksheetProtection $body, ?ProtectionRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheetProtection::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property protection for storage - * @param ProtectionRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ProtectionRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Returns sheet protection object for a worksheet. Read-only. - * @param ProtectionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ProtectionRequestBuilderGetRequestConfiguration $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 protection in storage - * @param WorkbookWorksheetProtection $body The request body - * @param ProtectionRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookWorksheetProtection $body, ?ProtectionRequestBuilderPatchRequestConfiguration $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 ProtectionRequestBuilder - */ - public function withUrl(string $rawUrl): ProtectionRequestBuilder { - return new ProtectionRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 0e659573789..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php deleted file mode 100644 index 099fd2ae5de..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 ProtectionRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ad80d085a4d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ProtectionRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ProtectionRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ProtectionRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ProtectionRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ProtectionRequestBuilderGetQueryParameters { - return new ProtectionRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 96f27c76247..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 3bd90d7bf0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index 0d907cf6b65..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d2ed1ea3b62..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php deleted file mode 100644 index 5fcde27da03..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $address Usage: address='{address}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $address = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/range(address=\'{address}\')'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['address'] = $address; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeWithAddressRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeWithAddressRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeWithAddressRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeWithAddressRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeWithAddressRequestBuilder - */ - public function withUrl(string $rawUrl): RangeWithAddressRequestBuilder { - return new RangeWithAddressRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e235f8c503b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.php deleted file mode 100644 index aead14c82fb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the address property value. The address property - * @return string|null - */ - public function getAddress(): ?string { - $val = $this->getBackingStore()->get('address'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'address'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'address' => fn(ParseNode $n) => $o->setAddress($n->getStringValue()), - 'hasHeaders' => fn(ParseNode $n) => $o->setHasHeaders($n->getBooleanValue()), - ]; - } - - /** - * Gets the hasHeaders property value. The hasHeaders property - * @return bool|null - */ - public function getHasHeaders(): ?bool { - $val = $this->getBackingStore()->get('hasHeaders'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'hasHeaders'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('address', $this->getAddress()); - $writer->writeBooleanValue('hasHeaders', $this->getHasHeaders()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the address property value. The address property - * @param string|null $value Value to set for the address property. - */ - public function setAddress(?string $value): void { - $this->getBackingStore()->set('address', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the hasHeaders property value. The hasHeaders property - * @param bool|null $value Value to set for the hasHeaders property. - */ - public function setHasHeaders(?bool $value): void { - $this->getBackingStore()->set('hasHeaders', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php deleted file mode 100644 index 2c0f51c9ecf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * 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. - * @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 - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * 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. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 250799f4a26..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.php deleted file mode 100644 index 18810b36290..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php deleted file mode 100644 index 93599c1b0f9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 067972c2086..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php deleted file mode 100644 index 7080496f528..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/clearFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $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-clearfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ClearFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ClearFiltersRequestBuilder { - return new ClearFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 04cecb5f6be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php deleted file mode 100644 index 1a93cd01fa0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php +++ /dev/null @@ -1,136 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]; - } - - /** - * Gets the index property value. The index property - * @return int|null - */ - public function getIndex(): ?int { - $val = $this->getBackingStore()->get('index'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); - } - - /** - * Gets the name property value. The name property - * @return string|null - */ - public function getName(): ?string { - $val = $this->getBackingStore()->get('name'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeStringValue('name', $this->getName()); - $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 index property value. The index property - * @param int|null $value Value to set for the index property. - */ - public function setIndex(?int $value): void { - $this->getBackingStore()->set('index', $value); - } - - /** - * Sets the name property value. The name property - * @param string|null $value Value to set for the name property. - */ - public function setName(?string $value): void { - $this->getBackingStore()->set('name', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php deleted file mode 100644 index 4f82e417d7d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds a new column to the 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/tablecolumncollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds a new column to the 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 - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 143d181fe77..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index 7465677b689..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - * @param string $workbookTableColumnId The unique identifier of workbookTableColumn - * @return WorkbookTableColumnItemRequestBuilder - */ - public function byWorkbookTableColumnId(string $workbookTableColumnId): WorkbookTableColumnItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTableColumn%2Did'] = $workbookTableColumnId; - return new WorkbookTableColumnItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ColumnsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumnCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 729f9a1b0af..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6a3e657bc0c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 79d8bbd40fe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.php deleted file mode 100644 index 3320d27bba6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php deleted file mode 100644 index d7eb6d041eb..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 75d977f389e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 534c071d3ea..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 151a250d253..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php deleted file mode 100644 index 1d7d62d7294..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyPostRequestBody { - return new ApplyPostRequestBody(); - } - - /** - * 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 criteria property value. The criteria property - * @return WorkbookFilterCriteria|null - */ - public function getCriteria(): ?WorkbookFilterCriteria { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof WorkbookFilterCriteria) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([WorkbookFilterCriteria::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $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 criteria property value. The criteria property - * @param WorkbookFilterCriteria|null $value Value to set for the criteria property. - */ - public function setCriteria(?WorkbookFilterCriteria $value): void { - $this->getBackingStore()->set('criteria', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php deleted file mode 100644 index c9419d4831d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/apply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Apply the given filter criteria on the given column. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-1.0 Find more info here - */ - public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Apply the given filter criteria on the given column. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $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 ApplyRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyRequestBuilder { - return new ApplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 99dc959dd9a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php deleted file mode 100644 index 58db9a26a47..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyBottomItemsFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyBottomItemsFilterPostRequestBody { - return new ApplyBottomItemsFilterPostRequestBody(); - } - - /** - * 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 count property value. The count property - * @return int|null - */ - public function getCount(): ?int { - $val = $this->getBackingStore()->get('count'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'count'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'count' => fn(ParseNode $n) => $o->setCount($n->getIntegerValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('count', $this->getCount()); - $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 count property value. The count property - * @param int|null $value Value to set for the count property. - */ - public function setCount(?int $value): void { - $this->getBackingStore()->set('count', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php deleted file mode 100644 index 377fb63de73..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyBottomItemsFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyBottomItemsFilter - * @param ApplyBottomItemsFilterPostRequestBody $body The request body - * @param ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyBottomItemsFilterPostRequestBody $body, ?ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyBottomItemsFilter - * @param ApplyBottomItemsFilterPostRequestBody $body The request body - * @param ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyBottomItemsFilterPostRequestBody $body, ?ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration $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 ApplyBottomItemsFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyBottomItemsFilterRequestBuilder { - return new ApplyBottomItemsFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 03f6dc1ee8d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php deleted file mode 100644 index 812e28116fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyBottomPercentFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyBottomPercentFilterPostRequestBody { - return new ApplyBottomPercentFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getIntegerValue()), - ]; - } - - /** - * Gets the percent property value. The percent property - * @return int|null - */ - public function getPercent(): ?int { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('percent', $this->getPercent()); - $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 percent property value. The percent property - * @param int|null $value Value to set for the percent property. - */ - public function setPercent(?int $value): void { - $this->getBackingStore()->set('percent', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php deleted file mode 100644 index 750b1341096..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyBottomPercentFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyBottomPercentFilter - * @param ApplyBottomPercentFilterPostRequestBody $body The request body - * @param ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyBottomPercentFilterPostRequestBody $body, ?ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyBottomPercentFilter - * @param ApplyBottomPercentFilterPostRequestBody $body The request body - * @param ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyBottomPercentFilterPostRequestBody $body, ?ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration $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 ApplyBottomPercentFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyBottomPercentFilterRequestBuilder { - return new ApplyBottomPercentFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 946f82fb3bd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php deleted file mode 100644 index 86d48764f2e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyCellColorFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyCellColorFilterPostRequestBody { - return new ApplyCellColorFilterPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php deleted file mode 100644 index 56919cec0b4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyCellColorFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyCellColorFilter - * @param ApplyCellColorFilterPostRequestBody $body The request body - * @param ApplyCellColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyCellColorFilterPostRequestBody $body, ?ApplyCellColorFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyCellColorFilter - * @param ApplyCellColorFilterPostRequestBody $body The request body - * @param ApplyCellColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyCellColorFilterPostRequestBody $body, ?ApplyCellColorFilterRequestBuilderPostRequestConfiguration $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 ApplyCellColorFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyCellColorFilterRequestBuilder { - return new ApplyCellColorFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f3c17c4a046..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php deleted file mode 100644 index 25ccc46ce39..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterPostRequestBody.php +++ /dev/null @@ -1,158 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyCustomFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyCustomFilterPostRequestBody { - return new ApplyCustomFilterPostRequestBody(); - } - - /** - * 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 criteria1 property value. The criteria1 property - * @return string|null - */ - public function getCriteria1(): ?string { - $val = $this->getBackingStore()->get('criteria1'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria1'"); - } - - /** - * Gets the criteria2 property value. The criteria2 property - * @return string|null - */ - public function getCriteria2(): ?string { - $val = $this->getBackingStore()->get('criteria2'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria2'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria1' => fn(ParseNode $n) => $o->setCriteria1($n->getStringValue()), - 'criteria2' => fn(ParseNode $n) => $o->setCriteria2($n->getStringValue()), - 'oper' => fn(ParseNode $n) => $o->setOper($n->getStringValue()), - ]; - } - - /** - * Gets the oper property value. The oper property - * @return string|null - */ - public function getOper(): ?string { - $val = $this->getBackingStore()->get('oper'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oper'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('criteria1', $this->getCriteria1()); - $writer->writeStringValue('criteria2', $this->getCriteria2()); - $writer->writeStringValue('oper', $this->getOper()); - $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 criteria1 property value. The criteria1 property - * @param string|null $value Value to set for the criteria1 property. - */ - public function setCriteria1(?string $value): void { - $this->getBackingStore()->set('criteria1', $value); - } - - /** - * Sets the criteria2 property value. The criteria2 property - * @param string|null $value Value to set for the criteria2 property. - */ - public function setCriteria2(?string $value): void { - $this->getBackingStore()->set('criteria2', $value); - } - - /** - * Sets the oper property value. The oper property - * @param string|null $value Value to set for the oper property. - */ - public function setOper(?string $value): void { - $this->getBackingStore()->set('oper', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php deleted file mode 100644 index 72d69775e90..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyCustomFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyCustomFilter - * @param ApplyCustomFilterPostRequestBody $body The request body - * @param ApplyCustomFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyCustomFilterPostRequestBody $body, ?ApplyCustomFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyCustomFilter - * @param ApplyCustomFilterPostRequestBody $body The request body - * @param ApplyCustomFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyCustomFilterPostRequestBody $body, ?ApplyCustomFilterRequestBuilderPostRequestConfiguration $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 ApplyCustomFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyCustomFilterRequestBuilder { - return new ApplyCustomFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 297b516d39a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php deleted file mode 100644 index 3414647fa45..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyDynamicFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyDynamicFilterPostRequestBody { - return new ApplyDynamicFilterPostRequestBody(); - } - - /** - * 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 criteria property value. The criteria property - * @return string|null - */ - public function getCriteria(): ?string { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('criteria', $this->getCriteria()); - $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 criteria property value. The criteria property - * @param string|null $value Value to set for the criteria property. - */ - public function setCriteria(?string $value): void { - $this->getBackingStore()->set('criteria', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php deleted file mode 100644 index 32bd128a2e7..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyDynamicFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyDynamicFilter - * @param ApplyDynamicFilterPostRequestBody $body The request body - * @param ApplyDynamicFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyDynamicFilterPostRequestBody $body, ?ApplyDynamicFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyDynamicFilter - * @param ApplyDynamicFilterPostRequestBody $body The request body - * @param ApplyDynamicFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyDynamicFilterPostRequestBody $body, ?ApplyDynamicFilterRequestBuilderPostRequestConfiguration $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 ApplyDynamicFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyDynamicFilterRequestBuilder { - return new ApplyDynamicFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 2d4668758c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php deleted file mode 100644 index 9c506db56e9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyFontColorFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyFontColorFilterPostRequestBody { - return new ApplyFontColorFilterPostRequestBody(); - } - - /** - * 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 color property value. The color property - * @return string|null - */ - public function getColor(): ?string { - $val = $this->getBackingStore()->get('color'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('color', $this->getColor()); - $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 color property value. The color property - * @param string|null $value Value to set for the color property. - */ - public function setColor(?string $value): void { - $this->getBackingStore()->set('color', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php deleted file mode 100644 index 5ea1c459866..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyFontColorFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyFontColorFilter - * @param ApplyFontColorFilterPostRequestBody $body The request body - * @param ApplyFontColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyFontColorFilterPostRequestBody $body, ?ApplyFontColorFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyFontColorFilter - * @param ApplyFontColorFilterPostRequestBody $body The request body - * @param ApplyFontColorFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyFontColorFilterPostRequestBody $body, ?ApplyFontColorFilterRequestBuilderPostRequestConfiguration $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 ApplyFontColorFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyFontColorFilterRequestBuilder { - return new ApplyFontColorFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 1f918a605ed..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php deleted file mode 100644 index e8b0f1fd054..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterPostRequestBody.php +++ /dev/null @@ -1,115 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyIconFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyIconFilterPostRequestBody { - return new ApplyIconFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'icon' => fn(ParseNode $n) => $o->setIcon($n->getObjectValue([WorkbookIcon::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Gets the icon property value. The icon property - * @return WorkbookIcon|null - */ - public function getIcon(): ?WorkbookIcon { - $val = $this->getBackingStore()->get('icon'); - if (is_null($val) || $val instanceof WorkbookIcon) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'icon'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('icon', $this->getIcon()); - $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 icon property value. The icon property - * @param WorkbookIcon|null $value Value to set for the icon property. - */ - public function setIcon(?WorkbookIcon $value): void { - $this->getBackingStore()->set('icon', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php deleted file mode 100644 index ad832d1851e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyIconFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyIconFilter - * @param ApplyIconFilterPostRequestBody $body The request body - * @param ApplyIconFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyIconFilterPostRequestBody $body, ?ApplyIconFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyIconFilter - * @param ApplyIconFilterPostRequestBody $body The request body - * @param ApplyIconFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyIconFilterPostRequestBody $body, ?ApplyIconFilterRequestBuilderPostRequestConfiguration $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 ApplyIconFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyIconFilterRequestBuilder { - return new ApplyIconFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index a9a7b4c9ce8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php deleted file mode 100644 index ef28916c9ff..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyTopItemsFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyTopItemsFilterPostRequestBody { - return new ApplyTopItemsFilterPostRequestBody(); - } - - /** - * 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 count property value. The count property - * @return int|null - */ - public function getCount(): ?int { - $val = $this->getBackingStore()->get('count'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'count'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'count' => fn(ParseNode $n) => $o->setCount($n->getIntegerValue()), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('count', $this->getCount()); - $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 count property value. The count property - * @param int|null $value Value to set for the count property. - */ - public function setCount(?int $value): void { - $this->getBackingStore()->set('count', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php deleted file mode 100644 index 4c66dc08330..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyTopItemsFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyTopItemsFilter - * @param ApplyTopItemsFilterPostRequestBody $body The request body - * @param ApplyTopItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyTopItemsFilterPostRequestBody $body, ?ApplyTopItemsFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyTopItemsFilter - * @param ApplyTopItemsFilterPostRequestBody $body The request body - * @param ApplyTopItemsFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyTopItemsFilterPostRequestBody $body, ?ApplyTopItemsFilterRequestBuilderPostRequestConfiguration $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 ApplyTopItemsFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyTopItemsFilterRequestBuilder { - return new ApplyTopItemsFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f1c2ef42a93..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php deleted file mode 100644 index aa54a845db6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyTopPercentFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyTopPercentFilterPostRequestBody { - return new ApplyTopPercentFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getIntegerValue()), - ]; - } - - /** - * Gets the percent property value. The percent property - * @return int|null - */ - public function getPercent(): ?int { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('percent', $this->getPercent()); - $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 percent property value. The percent property - * @param int|null $value Value to set for the percent property. - */ - public function setPercent(?int $value): void { - $this->getBackingStore()->set('percent', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php deleted file mode 100644 index 7c4648b5869..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyTopPercentFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyTopPercentFilter - * @param ApplyTopPercentFilterPostRequestBody $body The request body - * @param ApplyTopPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyTopPercentFilterPostRequestBody $body, ?ApplyTopPercentFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyTopPercentFilter - * @param ApplyTopPercentFilterPostRequestBody $body The request body - * @param ApplyTopPercentFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyTopPercentFilterPostRequestBody $body, ?ApplyTopPercentFilterRequestBuilderPostRequestConfiguration $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 ApplyTopPercentFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyTopPercentFilterRequestBuilder { - return new ApplyTopPercentFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index eb52cda0628..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php deleted file mode 100644 index 839d4f4414d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ /dev/null @@ -1,92 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ApplyValuesFilterPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplyValuesFilterPostRequestBody { - return new ApplyValuesFilterPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $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; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php deleted file mode 100644 index 974e479c525..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php +++ /dev/null @@ -1,76 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/applyValuesFilter'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke action applyValuesFilter - * @param ApplyValuesFilterPostRequestBody $body The request body - * @param ApplyValuesFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ApplyValuesFilterPostRequestBody $body, ?ApplyValuesFilterRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Invoke action applyValuesFilter - * @param ApplyValuesFilterPostRequestBody $body The request body - * @param ApplyValuesFilterRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyValuesFilterPostRequestBody $body, ?ApplyValuesFilterRequestBuilderPostRequestConfiguration $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 ApplyValuesFilterRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyValuesFilterRequestBuilder { - return new ApplyValuesFilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 45663edbaba..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php deleted file mode 100644 index 367a1f16e3c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clear the filter on the given column. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clear the filter on the given column. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f83c13e027a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php deleted file mode 100644 index 16a6d3a3018..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ /dev/null @@ -1,240 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyBottomItemsFilter method. - */ - public function applyBottomItemsFilter(): ApplyBottomItemsFilterRequestBuilder { - return new ApplyBottomItemsFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyBottomPercentFilter method. - */ - public function applyBottomPercentFilter(): ApplyBottomPercentFilterRequestBuilder { - return new ApplyBottomPercentFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyCellColorFilter method. - */ - public function applyCellColorFilter(): ApplyCellColorFilterRequestBuilder { - return new ApplyCellColorFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyCustomFilter method. - */ - public function applyCustomFilter(): ApplyCustomFilterRequestBuilder { - return new ApplyCustomFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyDynamicFilter method. - */ - public function applyDynamicFilter(): ApplyDynamicFilterRequestBuilder { - return new ApplyDynamicFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyFontColorFilter method. - */ - public function applyFontColorFilter(): ApplyFontColorFilterRequestBuilder { - return new ApplyFontColorFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyIconFilter method. - */ - public function applyIconFilter(): ApplyIconFilterRequestBuilder { - return new ApplyIconFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyTopItemsFilter method. - */ - public function applyTopItemsFilter(): ApplyTopItemsFilterRequestBuilder { - return new ApplyTopItemsFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyTopPercentFilter method. - */ - public function applyTopPercentFilter(): ApplyTopPercentFilterRequestBuilder { - return new ApplyTopPercentFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the applyValuesFilter method. - */ - public function applyValuesFilter(): ApplyValuesFilterRequestBuilder { - return new ApplyValuesFilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the clear method. - */ - public function clear(): ClearRequestBuilder { - return new ClearRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new FilterRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FilterRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfiguration $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 filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $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 FilterRequestBuilder - */ - public function withUrl(string $rawUrl): FilterRequestBuilder { - return new FilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 6836593a9e8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php deleted file mode 100644 index 974ad21bfc0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FilterRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a549b9b1bee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FilterRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FilterRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FilterRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FilterRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FilterRequestBuilderGetQueryParameters { - return new FilterRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 86e4a951297..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 73b6385b905..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f2f4e578249..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index 2ff1e7f0909..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the entire column. - * @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/tablecolumn-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the entire column. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e560ad6be61..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index a9292603efa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 90594ca2084..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php deleted file mode 100644 index 1f0b4cd8193..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ /dev/null @@ -1,184 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. - */ - public function filter(): FilterRequestBuilder { - return new FilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableColumnItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property columns for storage - * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property columns in storage - * @param WorkbookTableColumn $body The request body - * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property columns for storage - * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguration $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 columns in storage - * @param WorkbookTableColumn $body The request body - * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration $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 WorkbookTableColumnItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookTableColumnItemRequestBuilder { - return new WorkbookTableColumnItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index e8d5679ae80..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index be8f0cc69ad..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 7b70e8c7bd4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the column. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 6db79064714..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php deleted file mode 100644 index e898c4722da..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?FilterRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?FilterRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookFilter::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property filter for storage - * @param FilterRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Retrieve the filter applied to the column. Read-only. - * @param FilterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfiguration $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 filter in storage - * @param WorkbookFilter $body The request body - * @param FilterRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBuilderPatchRequestConfiguration $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 FilterRequestBuilder - */ - public function withUrl(string $rawUrl): FilterRequestBuilder { - return new FilterRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index b27a48004df..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php deleted file mode 100644 index 18e8c3a35d8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 FilterRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1f1f763492a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param FilterRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?FilterRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new FilterRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return FilterRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): FilterRequestBuilderGetQueryParameters { - return new FilterRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index d831437e5a9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Filter/FilterRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 6ce4678927d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the header row of the column. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e3a54e44315..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 6f05a224f2d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,118 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the filter property of the microsoft.graph.workbookTableColumn entity. - */ - public function filter(): FilterRequestBuilder { - return new FilterRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets a column based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets a column based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b8a1721ff95..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index a53a3a271cc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the entire column. - * @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/tablecolumn-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the entire column. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index a0ad5beb9d9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index 430d26bd8f1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the totals row of the column. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2c0f3f8bab1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php deleted file mode 100644 index acc1d931da1..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/convertToRange'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $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-converttorange?view=graph-rest-1.0 Find more info here - */ - public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostRequestConfiguration $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"); - 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 ConvertToRangeRequestBuilder - */ - public function withUrl(string $rawUrl): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 704a9a23530..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 957f55fe15d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 083f65f5666..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 3d06ec1d269..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 40f9f77af51..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index c8ddaea2b37..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the range object associated with the entire table. - * @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/table-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get the range object associated with the entire table. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e64393952ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php deleted file mode 100644 index c018649156a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/reapplyFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $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-reapplyfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 204672faf04..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php deleted file mode 100644 index cdc5097333e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AddPostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AddPostRequestBody { - return new AddPostRequestBody(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - ]; - } - - /** - * Gets the index property value. The index property - * @return int|null - */ - public function getIndex(): ?int { - $val = $this->getBackingStore()->get('index'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('index', $this->getIndex()); - $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 index property value. The index property - * @param int|null $value Value to set for the index property. - */ - public function setIndex(?int $value): void { - $this->getBackingStore()->set('index', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php deleted file mode 100644 index 075ca294c96..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/add'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. - * @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/tablerowcollection-add?view=graph-rest-1.0 Find more info here - */ - public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. - * @param AddPostRequestBody $body The request body - * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $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 AddRequestBuilder - */ - public function withUrl(string $rawUrl): AddRequestBuilder { - return new AddRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 73e506486f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.php deleted file mode 100644 index 2ad2b19591b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountGetResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CountGetResponse - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CountGetResponse { - return new CountGetResponse(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getIntegerValue()), - ]; - } - - /** - * Gets the value property value. The value property - * @return int|null - */ - public function getValue(): ?int { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_int($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeIntegerValue('value', $this->getValue()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the value property value. The value property - * @param int|null $value Value to set for the value property. - */ - public function setValue(?int $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php deleted file mode 100644 index 5a2889e14ee..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php +++ /dev/null @@ -1,73 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/count()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [CountGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function count - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 89d715fd1f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php deleted file mode 100644 index ddcc85a19aa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/{workbookTableRow%2Did}/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e0e89b6378d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php deleted file mode 100644 index 201c3d1bf63..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ /dev/null @@ -1,152 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableRowItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/{workbookTableRow%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property rows for storage - * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property rows in storage - * @param WorkbookTableRow $body The request body - * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property rows for storage - * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $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 rows in storage - * @param WorkbookTableRow $body The request body - * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilderPatchRequestConfiguration $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 WorkbookTableRowItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookTableRowItemRequestBuilder { - return new WorkbookTableRowItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 2972220a873..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index be2905ca314..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookTableRowItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 33085e9a4bf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookTableRowItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableRowItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookTableRowItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookTableRowItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableRowItemRequestBuilderGetQueryParameters { - return new WorkbookTableRowItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 669531d4db2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index ada12b2fcd3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,86 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets a row based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-1.0 Find more info here - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets a row based on its position in the collection. - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index de8d7ce215d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index 05ed20e30fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function range - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 59bf2ab7d48..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php deleted file mode 100644 index ab27fb7c119..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - * @param string $workbookTableRowId The unique identifier of workbookTableRow - * @return WorkbookTableRowItemRequestBuilder - */ - public function byWorkbookTableRowId(string $workbookTableRowId): WorkbookTableRowItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTableRow%2Did'] = $workbookTableRowId; - return new WorkbookTableRowItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new RowsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRowCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $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 RowsRequestBuilder - */ - public function withUrl(string $rawUrl): RowsRequestBuilder { - return new RowsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php deleted file mode 100644 index a4e3fda43b2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7342bb64eec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RowsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RowsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RowsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RowsRequestBuilderGetQueryParameters { - return new RowsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index cee93d08c50..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php deleted file mode 100644 index 0951c875682..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort/apply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Perform a sort operation. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-1.0 Find more info here - */ - public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Perform a sort operation. - * @param ApplyPostRequestBody $body The request body - * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequestConfiguration $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 ApplyRequestBuilder - */ - public function withUrl(string $rawUrl): ApplyRequestBuilder { - return new ApplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 54e7277acde..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php deleted file mode 100644 index 08067465188..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort/clear'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. - * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfiguration $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"); - 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 ClearRequestBuilder - */ - public function withUrl(string $rawUrl): ClearRequestBuilder { - return new ClearRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index f001c75fbc2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php deleted file mode 100644 index 1876d0f1584..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort/reapply'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies the current sorting parameters to the table. - * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies the current sorting parameters to the table. - * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyRequestBuilder { - return new ReapplyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4d438192294..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php deleted file mode 100644 index ce28303e97a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php +++ /dev/null @@ -1,168 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the clear method. - */ - public function clear(): ClearRequestBuilder { - return new ClearRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapply method. - */ - public function reapply(): ReapplyRequestBuilder { - return new ReapplyRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new SortRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SortRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SortRequestBuilderGetRequestConfiguration $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 sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $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 SortRequestBuilder - */ - public function withUrl(string $rawUrl): SortRequestBuilder { - return new SortRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index bb0e9d2ae58..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php deleted file mode 100644 index ee64886e21d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SortRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 4c279e62a77..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SortRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SortRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SortRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SortRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SortRequestBuilderGetQueryParameters { - return new SortRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index ee196c2e457..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index 4f359c56215..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index f251a154f79..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php deleted file mode 100644 index 90b1f67b932..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php +++ /dev/null @@ -1,232 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the convertToRange method. - */ - public function convertToRange(): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dataBodyRange method. - */ - public function dataBodyRange(): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapplyFilters method. - */ - public function reapplyFilters(): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - */ - public function rows(): RowsRequestBuilder { - return new RowsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. - */ - public function sort(): SortRequestBuilder { - return new SortRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new WorkbookTableItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property tables for storage - * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookTableItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Collection of tables that are part of the worksheet. Read-only. - * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookTableItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property tables in storage - * @param WorkbookTable $body The request body - * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTable $body, ?WorkbookTableItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property tables for storage - * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookTableItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Collection of tables that are part of the worksheet. Read-only. - * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookTableItemRequestBuilderGetRequestConfiguration $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 tables in storage - * @param WorkbookTable $body The request body - * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTable $body, ?WorkbookTableItemRequestBuilderPatchRequestConfiguration $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 WorkbookTableItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookTableItemRequestBuilder { - return new WorkbookTableItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 5f92a4b80a3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3e1be95bb01..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookTableItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 1ea8d5fe470..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookTableItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookTableItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookTableItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookTableItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookTableItemRequestBuilderGetQueryParameters { - return new WorkbookTableItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 9963223369e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index 9ebcb8d895e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index a0af5c17713..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 853cc449981..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php deleted file mode 100644 index 442a754ef6c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/clearFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $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-clearfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Clears all the filters currently applied on the table. - * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ClearFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ClearFiltersRequestBuilder { - return new ClearFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 9d6e84137d0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ClearFilters/ClearFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php deleted file mode 100644 index a9cbc88a92e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/columns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumnCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableColumn::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the columns in the table. Read-only. - * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to columns for storage - * @param WorkbookTableColumn $body The request body - * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostRequestConfiguration $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 ColumnsRequestBuilder - */ - public function withUrl(string $rawUrl): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php deleted file mode 100644 index f74d347f271..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0f4ef8fe651..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ColumnsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ColumnsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ColumnsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ColumnsRequestBuilderGetQueryParameters { - return new ColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index e788d93329d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php deleted file mode 100644 index dcdfbfa5868..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/convertToRange'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $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-converttorange?view=graph-rest-1.0 Find more info here - */ - public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Converts the table into a normal range of cells. All data is preserved. - * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostRequestConfiguration $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"); - 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 ConvertToRangeRequestBuilder - */ - public function withUrl(string $rawUrl): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 47dc2ac5e07..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ConvertToRange/ConvertToRangeRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php deleted file mode 100644 index 7d2e8a139c2..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/dataBodyRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $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-databodyrange?view=graph-rest-1.0 Find more info here - */ - public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with the data body of the table. - * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DataBodyRangeRequestBuilder - */ - public function withUrl(string $rawUrl): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0c1ab8f6d6d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/DataBodyRange/DataBodyRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php deleted file mode 100644 index 32f51d88cfc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/headerRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $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-headerrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with header row of the table. - * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return HeaderRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2c12bc4668e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/HeaderRowRange/HeaderRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php deleted file mode 100644 index 6a517e9a5f6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ /dev/null @@ -1,165 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the columns property of the microsoft.graph.workbookTable entity. - */ - public function columns(): ColumnsRequestBuilder { - return new ColumnsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the convertToRange method. - */ - public function convertToRange(): ConvertToRangeRequestBuilder { - return new ConvertToRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the dataBodyRange method. - */ - public function dataBodyRange(): DataBodyRangeRequestBuilder { - return new DataBodyRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the headerRowRange method. - */ - public function headerRowRange(): HeaderRowRangeRequestBuilder { - return new HeaderRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the reapplyFilters method. - */ - public function reapplyFilters(): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the rows property of the microsoft.graph.workbookTable entity. - */ - public function rows(): RowsRequestBuilder { - return new RowsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the sort property of the microsoft.graph.workbookTable entity. - */ - public function sort(): SortRequestBuilder { - return new SortRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the totalRowRange method. - */ - public function totalRowRange(): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. - */ - public function worksheet(): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ItemAtWithIndexRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param int|null $index Usage: index={index} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?int $index = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['index'] = $index; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function itemAt - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function itemAt - * @param ItemAtWithIndexRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ItemAtWithIndexRequestBuilder - */ - public function withUrl(string $rawUrl): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8f560c40d4d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php deleted file mode 100644 index bd92d657227..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/range()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the range object associated with the entire table. - * @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/table-range?view=graph-rest-1.0 Find more info here - */ - public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get the range object associated with the entire table. - * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RangeRequestBuilder - */ - public function withUrl(string $rawUrl): RangeRequestBuilder { - return new RangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 3acf8aa17fd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Range/RangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php deleted file mode 100644 index ece8068d3d5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/reapplyFilters'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $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-reapplyfilters?view=graph-rest-1.0 Find more info here - */ - public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Reapplies all the filters currently on the table. - * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostRequestConfiguration $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"); - 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 ReapplyFiltersRequestBuilder - */ - public function withUrl(string $rawUrl): ReapplyFiltersRequestBuilder { - return new ReapplyFiltersRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c93424d4119..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ReapplyFilters/ReapplyFiltersRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php deleted file mode 100644 index 5018777ffbe..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.php +++ /dev/null @@ -1,113 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/rows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRowCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableRow::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Represents a collection of all the rows in the table. Read-only. - * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to rows for storage - * @param WorkbookTableRow $body The request body - * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfiguration $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 RowsRequestBuilder - */ - public function withUrl(string $rawUrl): RowsRequestBuilder { - return new RowsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6cd53439621..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 0a27bd40315..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RowsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RowsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RowsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RowsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RowsRequestBuilderGetQueryParameters { - return new RowsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index c1c868cced4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php deleted file mode 100644 index c6e2aecedf4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilder.php +++ /dev/null @@ -1,144 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/sort{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SortRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableSort::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete navigation property sort for storage - * @param SortRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents the sorting for the table. Read-only. - * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SortRequestBuilderGetRequestConfiguration $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 sort in storage - * @param WorkbookTableSort $body The request body - * @param SortRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestBuilderPatchRequestConfiguration $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 SortRequestBuilder - */ - public function withUrl(string $rawUrl): SortRequestBuilder { - return new SortRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 3f31ab18333..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php deleted file mode 100644 index b191ca995db..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 SortRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e98cdc4c958..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SortRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SortRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SortRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return SortRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SortRequestBuilderGetQueryParameters { - return new SortRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 168022156dc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Sort/SortRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php deleted file mode 100644 index 246243c3132..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilder.php +++ /dev/null @@ -1,75 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/totalRowRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $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-totalrowrange?view=graph-rest-1.0 Find more info here - */ - public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Gets the range object associated with totals row of the table. - * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return TotalRowRangeRequestBuilder - */ - public function withUrl(string $rawUrl): TotalRowRangeRequestBuilder { - return new TotalRowRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index b44a82b8418..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/TotalRowRange/TotalRowRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php deleted file mode 100644 index bf2454867bf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/worksheet{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The worksheet containing the current table. Read-only. - * @param WorksheetRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return WorksheetRequestBuilder - */ - public function withUrl(string $rawUrl): WorksheetRequestBuilder { - return new WorksheetRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php deleted file mode 100644 index 6b8fcf0c018..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorksheetRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ddccd345941..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Worksheet/WorksheetRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorksheetRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorksheetRequestBuilderGetQueryParameters { - return new WorksheetRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php deleted file mode 100644 index 7b53be315c9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php +++ /dev/null @@ -1,151 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the count method. - */ - public function count(): CountRequestBuilder { - return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. - * @param string $workbookTableId The unique identifier of workbookTable - * @return WorkbookTableItemRequestBuilder - */ - public function byWorkbookTableId(string $workbookTableId): WorkbookTableItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['workbookTable%2Did'] = $workbookTableId; - return new WorkbookTableItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new TablesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of tables that are part of the worksheet. Read-only. - * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?TablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTableCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the itemAt method. - * @param int $index Usage: index={index} - * @return ItemAtWithIndexRequestBuilder - */ - public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { - return new ItemAtWithIndexRequestBuilder($this->pathParameters, $this->requestAdapter, $index); - } - - /** - * Create new navigation property to tables for storage - * @param WorkbookTable $body The request body - * @param TablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookTable::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of tables that are part of the worksheet. Read-only. - * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?TablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to tables for storage - * @param WorkbookTable $body The request body - * @param TablesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfiguration $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 TablesRequestBuilder - */ - public function withUrl(string $rawUrl): TablesRequestBuilder { - return new TablesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php deleted file mode 100644 index 0b0bc1c0a12..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new TablesRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d9b9eb4f26c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param TablesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?TablesRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new TablesRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return TablesRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TablesRequestBuilderGetQueryParameters { - return new TablesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 743afc5c416..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php deleted file mode 100644 index 5db906bf8f5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php +++ /dev/null @@ -1,74 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/usedRange()'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function usedRange - * @param UsedRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?UsedRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function usedRange - * @param UsedRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?UsedRangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return UsedRangeRequestBuilder - */ - public function withUrl(string $rawUrl): UsedRangeRequestBuilder { - return new UsedRangeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 5f3a1d5f064..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php deleted file mode 100644 index a70164aed7c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param bool|null $valuesOnly Usage: valuesOnly={valuesOnly} - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?bool $valuesOnly = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/usedRange(valuesOnly={valuesOnly})'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['valuesOnly'] = $valuesOnly; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Invoke function usedRange - * @param UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookRange::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Invoke function usedRange - * @param UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return UsedRangeWithValuesOnlyRequestBuilder - */ - public function withUrl(string $rawUrl): UsedRangeWithValuesOnlyRequestBuilder { - return new UsedRangeWithValuesOnlyRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 92f01df09dd..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php deleted file mode 100644 index e7c772a9497..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php +++ /dev/null @@ -1,231 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. - */ - public function names(): NamesRequestBuilder { - return new NamesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. - */ - public function pivotTables(): PivotTablesRequestBuilder { - return new PivotTablesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the protection property of the microsoft.graph.workbookWorksheet entity. - */ - public function protection(): ProtectionRequestBuilder { - return new ProtectionRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the range method. - */ - public function range(): RangeRequestBuilder { - return new RangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. - */ - public function tables(): TablesRequestBuilder { - return new TablesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the usedRange method. - */ - public function usedRange(): UsedRangeRequestBuilder { - return new UsedRangeRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to call the cell method. - * @param int $column Usage: column={column} - * @param int $row Usage: row={row} - * @return CellWithRowWithColumnRequestBuilder - */ - public function cellWithRowWithColumn(int $column, int $row): CellWithRowWithColumnRequestBuilder { - return new CellWithRowWithColumnRequestBuilder($this->pathParameters, $this->requestAdapter, $column, $row); - } - - /** - * Instantiates a new WorkbookWorksheetItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete navigation property worksheets for storage - * @param WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Represents a collection of worksheets associated with the workbook. Read-only. - * @param WorkbookWorksheetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?WorkbookWorksheetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the navigation property worksheets in storage - * @param WorkbookWorksheet $body The request body - * @param WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(WorkbookWorksheet $body, ?WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookWorksheet::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Provides operations to call the range method. - * @param string $address Usage: address='{address}' - * @return RangeWithAddressRequestBuilder - */ - public function rangeWithAddress(string $address): RangeWithAddressRequestBuilder { - return new RangeWithAddressRequestBuilder($this->pathParameters, $this->requestAdapter, $address); - } - - /** - * Delete navigation property worksheets for storage - * @param WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Represents a collection of worksheets associated with the workbook. Read-only. - * @param WorkbookWorksheetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?WorkbookWorksheetItemRequestBuilderGetRequestConfiguration $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 worksheets in storage - * @param WorkbookWorksheet $body The request body - * @param WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(WorkbookWorksheet $body, ?WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration $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; - } - - /** - * Provides operations to call the usedRange method. - * @param bool $valuesOnly Usage: valuesOnly={valuesOnly} - * @return UsedRangeWithValuesOnlyRequestBuilder - */ - public function usedRangeWithValuesOnly(bool $valuesOnly): UsedRangeWithValuesOnlyRequestBuilder { - return new UsedRangeWithValuesOnlyRequestBuilder($this->pathParameters, $this->requestAdapter, $valuesOnly); - } - - /** - * 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 WorkbookWorksheetItemRequestBuilder - */ - public function withUrl(string $rawUrl): WorkbookWorksheetItemRequestBuilder { - return new WorkbookWorksheetItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 2d5fb768c28..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index b66c8e71c21..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 WorkbookWorksheetItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 54972f5ac42..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorkbookWorksheetItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookWorksheetItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorkbookWorksheetItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return WorkbookWorksheetItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookWorksheetItemRequestBuilderGetQueryParameters { - return new WorkbookWorksheetItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 237c977f143..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php deleted file mode 100644 index b7cf1260ab9..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new WorksheetsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index ef8cb08a34a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param WorksheetsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?WorksheetsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new WorksheetsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return WorksheetsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): WorksheetsRequestBuilderGetQueryParameters { - return new WorksheetsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 4c993d1456c..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilder.php deleted file mode 100644 index 17760dcf63d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the items property of the microsoft.graph.drive entity. - * @param string $driveItemId The unique identifier of driveItem - * @return DriveItemItemRequestBuilder - */ - public function byDriveItemId(string $driveItemId): DriveItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['driveItem%2Did'] = $driveItemId; - return new DriveItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ItemsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * All items contained in the drive. Read-only. Nullable. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to items for storage - * @param DriveItem $body The request body - * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(DriveItem $body, ?ItemsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * All items contained in the drive. Read-only. Nullable. - * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to items for storage - * @param DriveItem $body The request body - * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(DriveItem $body, ?ItemsRequestBuilderPostRequestConfiguration $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 ItemsRequestBuilder - */ - public function withUrl(string $rawUrl): ItemsRequestBuilder { - return new ItemsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetQueryParameters.php deleted file mode 100644 index a57e2904742..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index dcb0374e498..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ItemsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ItemsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ItemsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ItemsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 30c8e06dde5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/ItemsRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilder.php deleted file mode 100644 index f8fa0b54dc5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ /dev/null @@ -1,93 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * The serviceProvisioningErrors property - */ - public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/lastModifiedByUser{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Identity of the user who last modified the item. Read-only. - * @param LastModifiedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return LastModifiedByUserRequestBuilder - */ - public function withUrl(string $rawUrl): LastModifiedByUserRequestBuilder { - return new LastModifiedByUserRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php deleted file mode 100644 index b7a02aabd5a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 LastModifiedByUserRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 01c29a11a84..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/LastModifiedByUserRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param LastModifiedByUserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?LastModifiedByUserRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new LastModifiedByUserRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return LastModifiedByUserRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): LastModifiedByUserRequestBuilderGetQueryParameters { - return new LastModifiedByUserRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php deleted file mode 100644 index 69b9a5c5fbf..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ /dev/null @@ -1,112 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/lastModifiedByUser/mailboxSettings{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. - * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Update property mailboxSettings value. - * @param MailboxSettings $body The request body - * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return MailboxSettingsRequestBuilder - */ - public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { - return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php deleted file mode 100644 index 3317650cb1d..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - */ - public function __construct(?array $expand = null, ?array $select = null) { - $this->expand = $expand; - $this->select = $select; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 16c65e91b0e..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return MailboxSettingsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { - return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index 0cb6d66b3be..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php deleted file mode 100644 index 1e9aa5d5d55..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php deleted file mode 100644 index 9c62e312a10..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -filter = $filter; - $this->search = $search; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 645cc13fc09..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new CountRequestBuilderGetQueryParameters. - * @param string|null $filter Filter items by property values - * @param string|null $search Search items by search phrases - * @return CountRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter, $search); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php deleted file mode 100644 index abb17943aa4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). - * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ServiceProvisioningErrorsRequestBuilder - */ - public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { - return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php deleted file mode 100644 index ae543be4791..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9ab18db2203..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { - return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilder.php deleted file mode 100644 index 9d82e804774..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/recent(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. - * @param RecentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/drive-recent?view=graph-rest-1.0 Find more info here - */ - public function get(?RecentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [RecentGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. - * @param RecentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RecentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RecentRequestBuilder - */ - public function withUrl(string $rawUrl): RecentRequestBuilder { - return new RecentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetQueryParameters.php deleted file mode 100644 index b9430e47291..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new RecentRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e120af96522..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Recent/RecentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RecentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RecentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RecentRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return RecentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RecentRequestBuilderGetQueryParameters { - return new RecentRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilder.php deleted file mode 100644 index 1a9cb0d86e4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/root/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 2f474520fd4..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 2af4feb0284..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilder.php deleted file mode 100644 index 1048ac30ea6..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new RootRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/root{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The root folder of the drive. Read-only. - * @param RootRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?RootRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The root folder of the drive. Read-only. - * @param RootRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?RootRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return RootRequestBuilder - */ - public function withUrl(string $rawUrl): RootRequestBuilder { - return new RootRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetQueryParameters.php deleted file mode 100644 index e7c2df9f75a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 RootRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index d7c31484bda..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/RootRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param RootRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?RootRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new RootRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return RootRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): RootRequestBuilderGetQueryParameters { - return new RootRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQGetResponse.php deleted file mode 100644 index 9c5c5c4bf7b..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilder.php deleted file mode 100644 index 336b9cdd43f..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilder.php +++ /dev/null @@ -1,80 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - * @param string|null $q Usage: q='{q}' - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $q = null) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/search(q=\'{q}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $urlTplParams = $pathParametersOrRawUrl; - $urlTplParams['q'] = $q; - $this->pathParameters = $urlTplParams; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. - * @param SearchWithQRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-search?view=graph-rest-1.0 Find more info here - */ - public function get(?SearchWithQRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SearchWithQGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. - * @param SearchWithQRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SearchWithQRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SearchWithQRequestBuilder - */ - public function withUrl(string $rawUrl): SearchWithQRequestBuilder { - return new SearchWithQRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php deleted file mode 100644 index a6c7c217c66..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SearchWithQRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index e4de2870271..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SearchWithQ/SearchWithQRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SearchWithQRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SearchWithQRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SearchWithQRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SearchWithQRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SearchWithQRequestBuilderGetQueryParameters { - return new SearchWithQRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeGetResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeGetResponse.php deleted file mode 100644 index 25a0c9952fc..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeGetResponse.php +++ /dev/null @@ -1,72 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), - ]); - } - - /** - * Gets the value property value. The value property - * @return array|null - */ - public function getValue(): ?array { - $val = $this->getBackingStore()->get('value'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeCollectionOfObjectValues('value', $this->getValue()); - } - - /** - * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. - */ - public function setValue(?array $value): void { - $this->getBackingStore()->set('value', $value); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilder.php deleted file mode 100644 index a466514ec78..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilder.php +++ /dev/null @@ -1,77 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/sharedWithMe(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. - * @param SharedWithMeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - * @link https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-1.0 Find more info here - */ - public function get(?SharedWithMeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [SharedWithMeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. - * @param SharedWithMeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SharedWithMeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SharedWithMeRequestBuilder - */ - public function withUrl(string $rawUrl): SharedWithMeRequestBuilder { - return new SharedWithMeRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetQueryParameters.php deleted file mode 100644 index 17a66b72236..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SharedWithMeRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index df4918f53fa..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/SharedWithMe/SharedWithMeRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SharedWithMeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SharedWithMeRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SharedWithMeRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SharedWithMeRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SharedWithMeRequestBuilderGetQueryParameters { - return new SharedWithMeRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilder.php deleted file mode 100644 index 4f980caf16a..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Count/CountRequestBuilder.php +++ /dev/null @@ -1,78 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/special/$count{?%24filter,%24search}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); - return $result; - } - - /** - * Get the number of the resource - * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return CountRequestBuilder - */ - public function withUrl(string $rawUrl): CountRequestBuilder { - return new CountRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilder.php deleted file mode 100644 index b8232db5eec..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilder.php +++ /dev/null @@ -1,147 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/special/{driveItem%2Did}/content{?%24format*}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); - return $result; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); - return $requestInfo; - } - - /** - * The content stream, if the item represents a file. - * @param StreamInterface $body Binary request body - * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setStreamContent($body, "application/octet-stream"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return ContentRequestBuilder - */ - public function withUrl(string $rawUrl): ContentRequestBuilder { - return new ContentRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index cd43bd2a7d5..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetQueryParameters.php deleted file mode 100644 index 7289232d3c8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,26 +0,0 @@ -format = $format; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 9a9a5a49c92..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,38 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ContentRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ContentRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ContentRequestBuilderGetQueryParameters. - * @param string|null $format Format of the content - * @return ContentRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?string $format = null): ContentRequestBuilderGetQueryParameters { - return new ContentRequestBuilderGetQueryParameters($format); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderPutRequestConfiguration.php deleted file mode 100644 index a2a5bbb74b8..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/Content/ContentRequestBuilderPutRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilder.php deleted file mode 100644 index 75b214f2b79..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilder.php +++ /dev/null @@ -1,85 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new DriveItemItemRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/special/{driveItem%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of common folders available in OneDrive. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of common folders available in OneDrive. Read-only. Nullable. - * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return DriveItemItemRequestBuilder - */ - public function withUrl(string $rawUrl): DriveItemItemRequestBuilder { - return new DriveItemItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php deleted file mode 100644 index b5f878d84f0..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,34 +0,0 @@ -|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 DriveItemItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8436b839d95..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/Item/DriveItemItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param DriveItemItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveItemItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new DriveItemItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return DriveItemItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveItemItemRequestBuilderGetQueryParameters { - return new DriveItemItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilder.php deleted file mode 100644 index 23d9dfdd770..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilder.php +++ /dev/null @@ -1,97 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the special property of the microsoft.graph.drive entity. - * @param string $driveItemId The unique identifier of driveItem - * @return DriveItemItemRequestBuilder - */ - public function byDriveItemId(string $driveItemId): DriveItemItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['driveItem%2Did'] = $driveItemId; - return new DriveItemItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new SpecialRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/special{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Collection of common folders available in OneDrive. Read-only. Nullable. - * @param SpecialRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?SpecialRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Collection of common folders available in OneDrive. Read-only. Nullable. - * @param SpecialRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?SpecialRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param string $rawUrl The raw URL to use for the request builder. - * @return SpecialRequestBuilder - */ - public function withUrl(string $rawUrl): SpecialRequestBuilder { - return new SpecialRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetQueryParameters.php deleted file mode 100644 index c9638962810..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetQueryParameters.php +++ /dev/null @@ -1,82 +0,0 @@ -|null $expand Expand related entities - */ - public ?array $expand = null; - - /** - * @QueryParameter("%24filter") - * @var string|null $filter Filter items by property values - */ - public ?string $filter = null; - - /** - * @QueryParameter("%24orderby") - * @var array|null $orderby Order items by property values - */ - public ?array $orderby = null; - - /** - * @QueryParameter("%24search") - * @var string|null $search Search items by search phrases - */ - public ?string $search = null; - - /** - * @QueryParameter("%24select") - * @var array|null $select Select properties to be returned - */ - public ?array $select = null; - - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - - /** - * @QueryParameter("%24top") - * @var int|null $top Show only the first n items - */ - public ?int $top = null; - - /** - * Instantiates a new SpecialRequestBuilderGetQueryParameters and sets the default values. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { - $this->count = $count; - $this->expand = $expand; - $this->filter = $filter; - $this->orderby = $orderby; - $this->search = $search; - $this->select = $select; - $this->skip = $skip; - $this->top = $top; - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 317ce7b29f3..00000000000 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Special/SpecialRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,45 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param SpecialRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?SpecialRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new SpecialRequestBuilderGetQueryParameters. - * @param bool|null $count Include count of items - * @param array|null $expand Expand related entities - * @param string|null $filter Filter items by property values - * @param array|null $orderby Order items by property values - * @param string|null $search Search items by search phrases - * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items - * @param int|null $top Show only the first n items - * @return SpecialRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SpecialRequestBuilderGetQueryParameters { - return new SpecialRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); - } - -} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php index 02f9a6c2a35..a1d6e55576e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Activate\ActivateRequestBuilder; use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\DriveRequestBuilder; +use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\PermanentDelete\PermanentDeleteRequestBuilder; use Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Permissions\PermissionsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -33,6 +34,13 @@ public function drive(): DriveRequestBuilder { return new DriveRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the permanentDelete method. + */ + public function permanentDelete(): PermanentDeleteRequestBuilder { + return new PermanentDeleteRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilder.php similarity index 95% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php rename to src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilder.php index fd52110de1d..8a2520c8710 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php similarity index 94% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php rename to src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php index 07c2df13ed1..99128a4bd70 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/PermanentDelete/PermanentDeleteRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new QuotaRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name=\'{name}\')/title{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/settings/quota{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property quota for storage + * @param QuotaRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?QuotaRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +53,40 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get quota from storage + * @param QuotaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?QuotaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UnifiedStorageQuota::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property quota in storage + * @param UnifiedStorageQuota $body The request body + * @param QuotaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(UnifiedStorageQuota $body, ?QuotaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UnifiedStorageQuota::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property quota for storage + * @param QuotaRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?QuotaRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +100,11 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf } /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get quota from storage + * @param QuotaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?QuotaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } /** - * Update the navigation property title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property quota in storage + * @param UnifiedStorageQuota $body The request body + * @param QuotaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(UnifiedStorageQuota $body, ?QuotaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +143,10 @@ public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleReques /** * 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 TitleRequestBuilder + * @return QuotaRequestBuilder */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): QuotaRequestBuilder { + return new QuotaRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php index 2075b1dc1fd..a0e242e0fc4 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Columns/ColumnsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetQueryParameters.php similarity index 73% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php rename to src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetQueryParameters.php index 1393341601f..2944bc27fa8 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetRequestConfiguration.php similarity index 57% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetRequestConfiguration.php index 458e1b02752..0bf2f781c12 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param DriveRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param QuotaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?QuotaRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new DriveRequestBuilderGetQueryParameters. + * Instantiates a new QuotaRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return DriveRequestBuilderGetQueryParameters + * @return QuotaRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveRequestBuilderGetQueryParameters { - return new DriveRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): QuotaRequestBuilderGetQueryParameters { + return new QuotaRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderPatchRequestConfiguration.php similarity index 73% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/QuotaRequestBuilderPatchRequestConfiguration.php index 75954a31972..404182bdc39 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/DriveRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/QuotaRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilder.php b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilder.php similarity index 94% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilder.php rename to src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilder.php index 81dce76fe52..85de632c4ff 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Count/CountRequestBuilder.php +++ b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9204292c408 --- /dev/null +++ b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e92a43cbe02 --- /dev/null +++ b/src/Generated/Storage/Settings/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php similarity index 52% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php rename to src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php index 2213bf194ca..3d23dcf932f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php @@ -1,36 +1,28 @@ pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new SubscriptionItemRequestBuilder and sets the default values. + * Instantiates a new ServiceStorageQuotaBreakdownItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/subscriptions/{subscription%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/settings/quota/services/{serviceStorageQuotaBreakdown%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -39,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property subscriptions for storage - * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property services for storage + * @param ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?SubscriptionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -53,40 +45,40 @@ public function delete(?SubscriptionItemRequestBuilderDeleteRequestConfiguration } /** - * The set of subscriptions on the list. - * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get services from storage + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?SubscriptionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property subscriptions in storage - * @param Subscription $body The request body - * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property services in storage + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(Subscription $body, ?SubscriptionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(ServiceStorageQuotaBreakdown $body, ?ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property subscriptions for storage - * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property services for storage + * @param ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -100,11 +92,11 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete } /** - * The set of subscriptions on the list. - * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get services from storage + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -121,12 +113,12 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } /** - * Update the navigation property subscriptions in storage - * @param Subscription $body The request body - * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property services in storage + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(ServiceStorageQuotaBreakdown $body, ?ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -143,10 +135,10 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR /** * 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 SubscriptionItemRequestBuilder + * @return ServiceStorageQuotaBreakdownItemRequestBuilder */ - public function withUrl(string $rawUrl): SubscriptionItemRequestBuilder { - return new SubscriptionItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ServiceStorageQuotaBreakdownItemRequestBuilder { + return new ServiceStorageQuotaBreakdownItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilderPostRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php index 8323928e3f7..021a1f49228 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimeRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php similarity index 70% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php rename to src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php index 6bd6a7bad57..062c6256700 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..527608cd43a --- /dev/null +++ b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters { + return new ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php similarity index 62% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php index 0554dc33b23..45e71e3b145 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Analytics/AnalyticsRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilder.php similarity index 56% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php rename to src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilder.php index 9f3549d75b2..16e57629cfb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['listItemVersion%2Did'] = $listItemVersionId; - return new ListItemVersionItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['serviceStorageQuotaBreakdown%2Did'] = $serviceStorageQuotaBreakdownId; + return new ServiceStorageQuotaBreakdownItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new VersionsRequestBuilder and sets the default values. + * Instantiates a new ServicesRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/settings/quota/services{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,40 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The list of previous versions of the list item. - * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get services from storage + * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?VersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ServicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItemVersionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdownCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to versions for storage - * @param ListItemVersion $body The request body - * @param VersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create new navigation property to services for storage + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(ServiceStorageQuotaBreakdown $body, ?ServicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ListItemVersion::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * The list of previous versions of the list item. - * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get services from storage + * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ServicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +102,12 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } /** - * Create new navigation property to versions for storage - * @param ListItemVersion $body The request body - * @param VersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create new navigation property to services for storage + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(ServiceStorageQuotaBreakdown $body, ?ServicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +124,10 @@ public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequest /** * 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 VersionsRequestBuilder + * @return ServicesRequestBuilder */ - public function withUrl(string $rawUrl): VersionsRequestBuilder { - return new VersionsRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ServicesRequestBuilder { + return new ServicesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php rename to src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetQueryParameters.php index eb2f82f0fc7..d5fe7f30280 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php index 68648910bc3..7642cbceacc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param VersionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ServicesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?VersionsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ServicesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new VersionsRequestBuilderGetQueryParameters. + * Instantiates a new ServicesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ver * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return VersionsRequestBuilderGetQueryParameters + * @return ServicesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): VersionsRequestBuilderGetQueryParameters { - return new VersionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServicesRequestBuilderGetQueryParameters { + return new ServicesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilderPostRequestConfiguration.php rename to src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php index 253eb9c7e66..d95c204d091 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Unfollow/UnfollowRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Storage/Settings/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php b/src/Generated/Storage/Settings/SettingsRequestBuilder.php similarity index 57% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php rename to src/Generated/Storage/Settings/SettingsRequestBuilder.php index 72b302dc842..87701ad60c0 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Storage/Settings/SettingsRequestBuilder.php @@ -1,28 +1,36 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new SettingsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/termStore{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/settings{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property termStore for groups - * @param TermStoreRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property settings for storage + * @param SettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +53,40 @@ public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $reque } /** - * The default termStore under this site. - * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get settings from storage + * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?TermStoreRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [StorageSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property termStore in groups - * @param Store $body The request body - * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property settings in storage + * @param StorageSettings $body The request body + * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(Store $body, ?TermStoreRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(StorageSettings $body, ?SettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [StorageSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property termStore for groups - * @param TermStoreRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property settings for storage + * @param SettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +100,11 @@ public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequest } /** - * The default termStore under this site. - * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get settings from storage + * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +121,12 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } /** - * Update the navigation property termStore in groups - * @param Store $body The request body - * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property settings in storage + * @param StorageSettings $body The request body + * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(StorageSettings $body, ?SettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +143,10 @@ public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderP /** * 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 TermStoreRequestBuilder + * @return SettingsRequestBuilder */ - public function withUrl(string $rawUrl): TermStoreRequestBuilder { - return new TermStoreRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): SettingsRequestBuilder { + return new SettingsRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php similarity index 72% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Storage/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php index 6fcc5add578..cf2987a4825 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Operations/OperationsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Storage/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Invitations/Item/InvitationItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/Settings/SettingsRequestBuilderGetQueryParameters.php similarity index 73% rename from src/Generated/Invitations/Item/InvitationItemRequestBuilderGetQueryParameters.php rename to src/Generated/Storage/Settings/SettingsRequestBuilderGetQueryParameters.php index 3da3fda1e18..75059109da5 100644 --- a/src/Generated/Invitations/Item/InvitationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/Settings/SettingsRequestBuilderGetRequestConfiguration.php similarity index 57% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetRequestConfiguration.php rename to src/Generated/Storage/Settings/SettingsRequestBuilderGetRequestConfiguration.php index 98d8755bba7..58f84af697d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Storage/Settings/SettingsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param WorkbookRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param SettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?WorkbookRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?SettingsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new WorkbookRequestBuilderGetQueryParameters. + * Instantiates a new SettingsRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return WorkbookRequestBuilderGetQueryParameters + * @return SettingsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkbookRequestBuilderGetQueryParameters { - return new WorkbookRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): SettingsRequestBuilderGetQueryParameters { + return new SettingsRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/Settings/SettingsRequestBuilderPatchRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Storage/Settings/SettingsRequestBuilderPatchRequestConfiguration.php index a46e65e9735..ecfd21e5340 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/WorkbookRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Storage/Settings/SettingsRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/StorageRequestBuilder.php b/src/Generated/Storage/StorageRequestBuilder.php index 16afdb35e87..53d2f8e8cf9 100644 --- a/src/Generated/Storage/StorageRequestBuilder.php +++ b/src/Generated/Storage/StorageRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Storage; use Microsoft\Graph\Generated\Storage\FileStorage\FileStorageRequestBuilder; +use Microsoft\Graph\Generated\Storage\Settings\SettingsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -24,6 +25,13 @@ public function fileStorage(): FileStorageRequestBuilder { return new FileStorageRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the settings property of the microsoft.graph.storage entity. + */ + public function settings(): SettingsRequestBuilder { + return new SettingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new StorageRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php index 2d429701ee7..921e45da135 100644 --- a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php @@ -9,6 +9,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Teams\Item\Channels\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\Channels\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\ChannelItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the channels property of the microsoft.graph.team entity. * @param string $channelId The unique identifier of channel diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostResponse.php b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostResponse.php rename to src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php index ad32dfa9c97..b464c0a02c8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Invite/InvitePostResponse.php +++ b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -1,18 +1,18 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Permission::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, Permission::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php rename to src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index 4d9a3be9372..68bd5b9e82b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,10 +1,9 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/base{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Parent contentType from which this content type is derived. - * @param BaseRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?BaseRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ContentType::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Parent contentType from which this content type is derived. - * @param BaseRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati /** * 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 EscapedBaseRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): EscapedBaseRequestBuilder { - return new EscapedBaseRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php rename to src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index e8b8944533c..bece3ce30eb 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php similarity index 54% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php index bdc436d8bd8..ddc1ae7247e 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/ExternalColumns/ExternalColumnsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ExternalColumnsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ExternalColumnsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ExternalColumnsRequestBuilderGetQueryParameters. + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ExternalColumnsRequestBuilderGetQueryParameters + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExternalColumnsRequestBuilderGetQueryParameters { - return new ExternalColumnsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedGetResponse.php b/src/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedGetResponse.php rename to src/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.php index cf19b212cf8..74fcf6dac49 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/IsPublished/IsPublishedGetResponse.php +++ b/src/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return IsPublishedGetResponse + * @return ArchivePostRequestBody */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): IsPublishedGetResponse { - return new IsPublishedGetResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); } /** @@ -62,20 +62,20 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getBooleanValue()), + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), ]; } /** - * Gets the value property value. The value property + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property * @return bool|null */ - public function getValue(): ?bool { - $val = $this->getBackingStore()->get('value'); + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); if (is_null($val) || is_bool($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); } /** @@ -83,7 +83,7 @@ public function getValue(): ?bool { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeBooleanValue('value', $this->getValue()); + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,11 +104,11 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the value property value. The value property - * @param bool|null $value Value to set for the value property. + * Sets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. */ - public function setValue(?bool $value): void { - $this->getBackingStore()->set('value', $value); + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); } } diff --git a/src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..c31aad748b6 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilderPostRequestConfiguration.php rename to src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php index 53a983598a9..d42a93f44ec 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkin/CheckinRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Teams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php index 70865275fb5..b2fe131dd6b 100644 --- a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\FilesFolder\FilesFolderRequestBuilder; @@ -15,6 +16,7 @@ use Microsoft\Graph\Generated\Teams\Item\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -25,6 +27,13 @@ */ class ChannelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ChannelItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php index b5e1fd33fed..d22a72d1ac6 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index f324450624a..53df36713d4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php similarity index 60% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php rename to src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php index 7827bdb7127..2e58ce37eff 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/contentTypes/{contentType%2Did}/unpublish'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/unarchive'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,13 +30,13 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType from a content type hub site. - * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here */ - public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,11 +45,11 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType from a content type hub site. - * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -65,10 +65,10 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf /** * 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 UnpublishRequestBuilder + * @return UnarchiveRequestBuilder */ - public function withUrl(string $rawUrl): UnpublishRequestBuilder { - return new UnpublishRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..51449d6550b --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.php b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php similarity index 71% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.php rename to src/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php index b0cfdc05ee0..b529c18a5ed 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php @@ -1,6 +1,6 @@ backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return CreateSessionPostRequestBody + * @return ArchivePostRequestBody */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateSessionPostRequestBody { - return new CreateSessionPostRequestBody(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); } /** @@ -62,20 +62,20 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'persistChanges' => fn(ParseNode $n) => $o->setPersistChanges($n->getBooleanValue()), + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), ]; } /** - * Gets the persistChanges property value. The persistChanges property + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property * @return bool|null */ - public function getPersistChanges(): ?bool { - $val = $this->getBackingStore()->get('persistChanges'); + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); if (is_null($val) || is_bool($val)) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'persistChanges'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); } /** @@ -83,7 +83,7 @@ public function getPersistChanges(): ?bool { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeBooleanValue('persistChanges', $this->getPersistChanges()); + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,11 +104,11 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the persistChanges property value. The persistChanges property - * @param bool|null $value Value to set for the persistChanges property. + * Sets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. */ - public function setPersistChanges(?bool $value): void { - $this->getBackingStore()->set('persistChanges', $value); + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); } } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..d5cf6a4f6a3 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/primaryChannel/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..350aa55f4eb --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index 3b3e3b88109..bc748d506fc 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\FilesFolder\FilesFolderRequestBuilder; @@ -15,6 +16,7 @@ use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -25,6 +27,13 @@ */ class PrimaryChannelRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new PrimaryChannelRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php similarity index 60% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php rename to src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php index c2dfb220de0..f0925f4cbb4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php @@ -1,6 +1,6 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/protection/unprotect'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/primaryChannel/unarchive'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,13 +30,13 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unprotect a worksheet - * @param UnprotectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/worksheetprotection-unprotect?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here */ - public function post(?UnprotectRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,11 +45,11 @@ public function post(?UnprotectRequestBuilderPostRequestConfiguration $requestCo } /** - * Unprotect a worksheet - * @param UnprotectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?UnprotectRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -65,10 +65,10 @@ public function toPostRequestInformation(?UnprotectRequestBuilderPostRequestConf /** * 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 UnprotectRequestBuilder + * @return UnarchiveRequestBuilder */ - public function withUrl(string $rawUrl): UnprotectRequestBuilder { - return new UnprotectRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2f5d9ec1c30 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php index 084cb5819ae..eb8f454c124 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php @@ -9,6 +9,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\ChannelItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the channels property of the microsoft.graph.deletedTeam entity. * @param string $channelId The unique identifier of channel diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php new file mode 100644 index 00000000000..6b7dc90e260 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 54% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php rename to src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index a43f72747aa..cb3c5634aad 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,28 +1,27 @@ |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}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/createdByUser{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo /** * 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 CreatedByUserRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 87% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php rename to src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index f68dec183fa..28b74506c16 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6d72d69278b --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php new file mode 100644 index 00000000000..e5ccbe2d4a8 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ArchivePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), + ]; + } + + /** + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @return bool|null + */ + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); + $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 shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. + */ + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..831853a32e4 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..490c81da791 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php index 187dad324b5..19a56c6f00c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\FilesFolder\FilesFolderRequestBuilder; @@ -15,6 +16,7 @@ use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -25,6 +27,13 @@ */ class ChannelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ChannelItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php new file mode 100644 index 00000000000..44d3ea87a47 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php @@ -0,0 +1,74 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/unarchive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here + */ + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $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"); + 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 UnarchiveRequestBuilder + */ + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..797cb646ebe --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php index 363b0ec25e0..fec5d4ad238 100644 --- a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. + * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssignLicensePostRequestBody $body, ?AssignLicenseRequestBu } /** - * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. + * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php index 1a931f6f374..d83cb37df6b 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. + * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. To reset a user's password in Azure AD B2C, use the Update user API operation and update the passwordProfile > forceChangePasswordNextSignIn object. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. * @param ResetPasswordPostRequestBody $body The request body * @param ResetPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResetPasswordPostRequestBody $body, ?ResetPasswordRequestBu } /** - * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. + * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. To reset a user's password in Azure AD B2C, use the Update user API operation and update the passwordProfile > forceChangePasswordNextSignIn object. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. * @param ResetPasswordPostRequestBody $body The request body * @param ResetPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php index 4e1e2a7105f..40848d38e3b 100644 --- a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?LongRunningOperationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?LongRunningOperationItemRequestBuild } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php index acb5086e7d2..11bcb5a50c6 100644 --- a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ class LongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php index f9b56b06454..0ce5bb420da 100644 --- a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(LongRunningOperation $body, ?OperationsRequestBuilderPostRe } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php index 94dd15a8690..a074e9c3990 100644 --- a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php b/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php index d1ad56be453..f29f4d4c5ce 100644 --- a/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php @@ -9,6 +9,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Users\Item\Chats\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Chats\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Chats\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Chats\Item\ChatItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the chats property of the microsoft.graph.user entity. * @param string $chatId The unique identifier of chat diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQGetResponse.php b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php similarity index 70% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQGetResponse.php rename to src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php index b5cc691cfd8..f545dc2d624 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/SearchWithQ/SearchWithQGetResponse.php +++ b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -1,18 +1,18 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DriveItem::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DriveItem::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 55% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php rename to src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index 0366d1669f6..7d541b891fb 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,28 +1,27 @@ |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}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/createdByUser{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/chats/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Identity of the user who created the item. Read-only. - * @param CreatedByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo /** * 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 CreatedByUserRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): CreatedByUserRequestBuilder { - return new CreatedByUserRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index 8681a56bdaa..09ec3b0c975 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Lists/ListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php similarity index 54% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php index 2ebe657f646..ba994eba02e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Chats/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param NamesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?NamesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new NamesRequestBuilderGetQueryParameters. + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Nam * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return NamesRequestBuilderGetQueryParameters + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): NamesRequestBuilderGetQueryParameters { - return new NamesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 3810e5e2df1..1cf9e6a0ddd 100644 --- a/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php b/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php index 0adc21c25e3..52a69e64c5b 100644 --- a/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php @@ -4,8 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Models\ItemInsights; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; -use Microsoft\Graph\Generated\Models\OfficeGraphInsights; use Microsoft\Graph\Generated\Users\Item\Insights\Shared\SharedRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Insights\Trending\TrendingRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Insights\Used\UsedRequestBuilder; @@ -71,7 +71,7 @@ public function delete(?InsightsRequestBuilderDeleteRequestConfiguration $reques /** * Get insights from users * @param InsightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @return Promise * @throws Exception */ public function get(?InsightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { @@ -79,22 +79,22 @@ public function get(?InsightsRequestBuilderGetRequestConfiguration $requestConfi $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [OfficeGraphInsights::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ItemInsights::class, 'createFromDiscriminatorValue'], $errorMappings); } /** * Update the navigation property insights in users - * @param OfficeGraphInsights $body The request body + * @param ItemInsights $body The request body * @param InsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @return Promise * @throws Exception */ - public function patch(OfficeGraphInsights $body, ?InsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(ItemInsights $body, ?InsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [OfficeGraphInsights::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ItemInsights::class, 'createFromDiscriminatorValue'], $errorMappings); } /** @@ -138,11 +138,11 @@ public function toGetRequestInformation(?InsightsRequestBuilderGetRequestConfigu /** * Update the navigation property insights in users - * @param OfficeGraphInsights $body The request body + * @param ItemInsights $body The request body * @param InsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(OfficeGraphInsights $body, ?InsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(ItemInsights $body, ?InsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; diff --git a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php index 1b28469db80..d4dd8b450c8 100644 --- a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?SharedInsightItemRequestBuilderDeleteRequestConfiguratio } /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param SharedInsightItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?SharedInsightItemRequestBuilderDelet } /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param SharedInsightItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilderGetQueryParameters.php index 20a93ca0ff5..9a2dffe8b66 100644 --- a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. */ class SharedInsightItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php index dc6b29d4e1e..6840acf7672 100644 --- a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param SharedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(SharedInsight $body, ?SharedRequestBuilderPostRequestConfig } /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. * @param SharedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php index cfe34de31bc..5fb9a0fa053 100644 --- a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. + * Calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. */ class SharedRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php index 2fd78299992..eceb8d2dcf0 100644 --- a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?TrendingItemRequestBuilderDeleteRequestConfiguration $re } /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @param TrendingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?TrendingItemRequestBuilderDeleteRequ } /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @param TrendingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilderGetQueryParameters.php index c0bfc98bbe5..8b59d1f2b04 100644 --- a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. */ class TrendingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php index cb9a7ef8b9e..265e565002e 100644 --- a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @param TrendingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(Trending $body, ?TrendingRequestBuilderPostRequestConfigura } /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. * @param TrendingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php index 7a5153ac7d8..a3140de670a 100644 --- a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + * Calculated relationship that identifies documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for work or school and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. */ class TrendingRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php index 0d36b04a6c3..eb5cf891e94 100644 --- a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?UsedInsightItemRequestBuilderDeleteRequestConfiguration } /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param UsedInsightItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?UsedInsightItemRequestBuilderDeleteR } /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param UsedInsightItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilderGetQueryParameters.php index 2d2792ca355..5803847f21d 100644 --- a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. */ class UsedInsightItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php index dc12877cd67..78dfc326601 100644 --- a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param UsedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(UsedInsight $body, ?UsedRequestBuilderPostRequestConfigurat } /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. * @param UsedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php index deb77c70cde..63aec4379b8 100644 --- a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. + * Calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. */ class UsedRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php index 20f6c6dccf2..a83f1f1e865 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php @@ -9,6 +9,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\GetAllMessages\GetAllMessagesRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\GetAllRetainedMessages\GetAllRetainedMessagesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\ChannelItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -34,6 +35,13 @@ public function getAllMessages(): GetAllMessagesRequestBuilder { return new GetAllMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRetainedMessages method. + */ + public function getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the channels property of the microsoft.graph.team entity. * @param string $channelId The unique identifier of channel diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php new file mode 100644 index 00000000000..69e9ed6acb2 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ChatMessage::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php similarity index 54% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php rename to src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php index 02ba21c8de5..bcb20e87923 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilder.php @@ -1,10 +1,9 @@ |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}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/drives{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,25 +30,25 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The collection of drives (document libraries) under this site. - * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?DrivesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRetainedMessagesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * The collection of drives (document libraries) under this site. - * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Invoke function getAllRetainedMessages + * @param GetAllRetainedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GetAllRetainedMessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -68,10 +67,10 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura /** * 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 DrivesRequestBuilder + * @return GetAllRetainedMessagesRequestBuilder */ - public function withUrl(string $rawUrl): DrivesRequestBuilder { - return new DrivesRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GetAllRetainedMessagesRequestBuilder { + return new GetAllRetainedMessagesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php similarity index 87% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php index 1d0b3ecd8a4..2ab92e474ca 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d219a04e287 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllRetainedMessages/GetAllRetainedMessagesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllRetainedMessagesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRetainedMessagesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllRetainedMessagesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetAllRetainedMessagesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetAllRetainedMessagesRequestBuilderGetQueryParameters { + return new GetAllRetainedMessagesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php new file mode 100644 index 00000000000..fadefa27029 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ArchivePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), + ]; + } + + /** + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @return bool|null + */ + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); + $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 shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. + */ + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..fe356ab280c --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c0b598ddbc2 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php index f1cd5aef057..a3a397b42db 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\FilesFolder\FilesFolderRequestBuilder; @@ -15,6 +16,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -25,6 +27,13 @@ */ class ChannelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ChannelItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php new file mode 100644 index 00000000000..587b6249bc7 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilder.php @@ -0,0 +1,74 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/unarchive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here + */ + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $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"); + 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 UnarchiveRequestBuilder + */ + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..038f6737683 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php new file mode 100644 index 00000000000..13f112d85b1 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ArchivePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ArchivePostRequestBody { + return new ArchivePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'shouldSetSpoSiteReadOnlyForMembers' => fn(ParseNode $n) => $o->setShouldSetSpoSiteReadOnlyForMembers($n->getBooleanValue()), + ]; + } + + /** + * Gets the shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @return bool|null + */ + public function getShouldSetSpoSiteReadOnlyForMembers(): ?bool { + $val = $this->getBackingStore()->get('shouldSetSpoSiteReadOnlyForMembers'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'shouldSetSpoSiteReadOnlyForMembers'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('shouldSetSpoSiteReadOnlyForMembers', $this->getShouldSetSpoSiteReadOnlyForMembers()); + $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 shouldSetSpoSiteReadOnlyForMembers property value. The shouldSetSpoSiteReadOnlyForMembers property + * @param bool|null $value Value to set for the shouldSetSpoSiteReadOnlyForMembers property. + */ + public function setShouldSetSpoSiteReadOnlyForMembers(?bool $value): void { + $this->getBackingStore()->set('shouldSetSpoSiteReadOnlyForMembers', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php new file mode 100644 index 00000000000..602058deb0c --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/archive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0 Find more info here + */ + public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived. + * @param ArchivePostRequestBody $body The request body + * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostRequestConfiguration $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 ArchiveRequestBuilder + */ + public function withUrl(string $rawUrl): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d3127709ba6 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchiveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index 775c2a0b0e1..69d07aac18d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\Channel; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Archive\ArchiveRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\CompleteMigration\CompleteMigrationRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName\DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\FilesFolder\FilesFolderRequestBuilder; @@ -15,6 +16,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Tabs\TabsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -25,6 +27,13 @@ */ class PrimaryChannelRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the archive method. + */ + public function archive(): ArchiveRequestBuilder { + return new ArchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the completeMigration method. */ @@ -88,6 +97,13 @@ public function tabs(): TabsRequestBuilder { return new TabsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the unarchive method. + */ + public function unarchive(): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new PrimaryChannelRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php new file mode 100644 index 00000000000..b35b869c50b --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilder.php @@ -0,0 +1,74 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/unarchive'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 Find more info here + */ + public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds. + * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConfiguration $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"); + 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 UnarchiveRequestBuilder + */ + public function withUrl(string $rawUrl): UnarchiveRequestBuilder { + return new UnarchiveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..37c8b54adfc --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Unarchive/UnarchiveRequestBuilderPostRequestConfiguration.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/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilder.php similarity index 56% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php rename to src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilder.php index 1fdd2eb2700..4b2937133b0 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilder.php @@ -1,28 +1,28 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/termStore{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/itemInsights{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property termStore for sites - * @param TermStoreRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property itemInsights for users + * @param ItemInsightsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?ItemInsightsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +45,40 @@ public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $reque } /** - * The default termStore under this site. - * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get itemInsights from users + * @param ItemInsightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?TermStoreRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ItemInsightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UserInsightsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property termStore in sites - * @param Store $body The request body - * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property itemInsights in users + * @param UserInsightsSettings $body The request body + * @param ItemInsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(Store $body, ?TermStoreRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(UserInsightsSettings $body, ?ItemInsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Store::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UserInsightsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property termStore for sites - * @param TermStoreRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property itemInsights for users + * @param ItemInsightsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?ItemInsightsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +92,11 @@ public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequest } /** - * The default termStore under this site. - * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get itemInsights from users + * @param ItemInsightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ItemInsightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +113,12 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } /** - * Update the navigation property termStore in sites - * @param Store $body The request body - * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property itemInsights in users + * @param UserInsightsSettings $body The request body + * @param ItemInsightsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(UserInsightsSettings $body, ?ItemInsightsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +135,10 @@ public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderP /** * 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 TermStoreRequestBuilder + * @return ItemInsightsRequestBuilder */ - public function withUrl(string $rawUrl): TermStoreRequestBuilder { - return new TermStoreRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ItemInsightsRequestBuilder { + return new ItemInsightsRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php index d8aa6105911..b34dc64a931 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php similarity index 74% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php index cfb759809c8..732d8f7dc07 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php similarity index 58% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php index 62450c52fa8..50f4e2b75bb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param SourceColumnRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ItemInsightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?SourceColumnRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ItemInsightsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new SourceColumnRequestBuilderGetQueryParameters. + * Instantiates a new ItemInsightsRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return SourceColumnRequestBuilderGetQueryParameters + * @return ItemInsightsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): SourceColumnRequestBuilderGetQueryParameters { - return new SourceColumnRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ItemInsightsRequestBuilderGetQueryParameters { + return new ItemInsightsRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php index 906abb20457..0c4ebbc99da 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/SubscriptionsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/ItemInsights/ItemInsightsRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php index 63779b90171..972377da7b4 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php @@ -6,7 +6,9 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\UserSettings; +use Microsoft\Graph\Generated\Users\Item\Settings\ItemInsights\ItemInsightsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Settings\ShiftPreferences\ShiftPreferencesRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Settings\Storage\StorageRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Settings\Windows\WindowsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -18,6 +20,13 @@ */ class SettingsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the itemInsights property of the microsoft.graph.userSettings entity. + */ + public function itemInsights(): ItemInsightsRequestBuilder { + return new ItemInsightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the shiftPreferences property of the microsoft.graph.userSettings entity. */ @@ -25,6 +34,13 @@ public function shiftPreferences(): ShiftPreferencesRequestBuilder { return new ShiftPreferencesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the storage property of the microsoft.graph.userSettings entity. + */ + public function storage(): StorageRequestBuilder { + return new StorageRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the windows property of the microsoft.graph.userSettings entity. */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.php b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilder.php similarity index 64% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.php rename to src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilder.php index 3ac3375d6c3..61761bb2f67 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/Title/TitleRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilder.php @@ -1,28 +1,36 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new QuotaRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/title{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/storage/quota{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property quota for users + * @param QuotaRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?QuotaRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +53,40 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get quota from users + * @param QuotaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?QuotaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UnifiedStorageQuota::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property quota in users + * @param UnifiedStorageQuota $body The request body + * @param QuotaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(UnifiedStorageQuota $body, ?QuotaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [WorkbookChartTitle::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UnifiedStorageQuota::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property title for storage - * @param TitleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property quota for users + * @param QuotaRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?QuotaRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +100,11 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf } /** - * Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. - * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get quota from users + * @param QuotaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?QuotaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } /** - * Update the navigation property title in storage - * @param WorkbookChartTitle $body The request body - * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property quota in users + * @param UnifiedStorageQuota $body The request body + * @param QuotaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(UnifiedStorageQuota $body, ?QuotaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +143,10 @@ public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleReques /** * 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 TitleRequestBuilder + * @return QuotaRequestBuilder */ - public function withUrl(string $rawUrl): TitleRequestBuilder { - return new TitleRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): QuotaRequestBuilder { + return new QuotaRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..73289a82e0d --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderDeleteRequestConfiguration.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/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetQueryParameters.php similarity index 72% rename from src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetQueryParameters.php index ad719e1d4e7..e6c7f06c677 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Drive/DriveRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetRequestConfiguration.php similarity index 57% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetRequestConfiguration.php index cba8f1c5a95..3eb0c61c443 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Drive/DriveRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param DriveRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param QuotaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?DriveRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?QuotaRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new DriveRequestBuilderGetQueryParameters. + * Instantiates a new QuotaRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return DriveRequestBuilderGetQueryParameters + * @return QuotaRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): DriveRequestBuilderGetQueryParameters { - return new DriveRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): QuotaRequestBuilderGetQueryParameters { + return new QuotaRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderPatchRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderPutRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderPatchRequestConfiguration.php index 88fc725cf7d..867df9f5949 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Root/Content/ContentRequestBuilderPutRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/QuotaRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..81508ed2a8a --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/storage/quota/services/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b42c974c0de --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8a0a8dbf565 --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php similarity index 51% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php rename to src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php index c4a2712951d..4f1e5755570 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilder.php @@ -1,36 +1,28 @@ pathParameters, $this->requestAdapter); - } - - /** - * Instantiates a new SubscriptionItemRequestBuilder and sets the default values. + * Instantiates a new ServiceStorageQuotaBreakdownItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/subscriptions/{subscription%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/storage/quota/services/{serviceStorageQuotaBreakdown%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -39,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property subscriptions for storage - * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property services for users + * @param ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?SubscriptionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -53,40 +45,40 @@ public function delete(?SubscriptionItemRequestBuilderDeleteRequestConfiguration } /** - * The set of subscriptions on the item. Only supported on the root of a drive. - * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get services from users + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?SubscriptionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property subscriptions in storage - * @param Subscription $body The request body - * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property services in users + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(Subscription $body, ?SubscriptionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(ServiceStorageQuotaBreakdown $body, ?ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Subscription::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property subscriptions for storage - * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property services for users + * @param ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -100,11 +92,11 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete } /** - * The set of subscriptions on the item. Only supported on the root of a drive. - * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get services from users + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -121,12 +113,12 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } /** - * Update the navigation property subscriptions in storage - * @param Subscription $body The request body - * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property services in users + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(ServiceStorageQuotaBreakdown $body, ?ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -143,10 +135,10 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR /** * 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 SubscriptionItemRequestBuilder + * @return ServiceStorageQuotaBreakdownItemRequestBuilder */ - public function withUrl(string $rawUrl): SubscriptionItemRequestBuilder { - return new SubscriptionItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ServiceStorageQuotaBreakdownItemRequestBuilder { + return new ServiceStorageQuotaBreakdownItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9be6d8fa77a --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b7879cbaf26 --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters.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 ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4e5f3e5dc3b --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters { + return new ServiceStorageQuotaBreakdownItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f4e793f63a5 --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/Item/ServiceStorageQuotaBreakdownItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilder.php similarity index 55% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilder.php rename to src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilder.php index 9cbc77de98d..1958ff6ccf2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['driveItem%2Did1'] = $driveItemId1; - return new DriveItemItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['serviceStorageQuotaBreakdown%2Did'] = $serviceStorageQuotaBreakdownId; + return new ServiceStorageQuotaBreakdownItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new ChildrenRequestBuilder and sets the default values. + * Instantiates a new ServicesRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/children{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/storage/quota/services{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,40 +52,40 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. - * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get services from users + * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ServicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItemCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdownCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to children for storage - * @param DriveItem $body The request body - * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create new navigation property to services for users + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function post(DriveItem $body, ?ChildrenRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(ServiceStorageQuotaBreakdown $body, ?ServicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [DriveItem::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ServiceStorageQuotaBreakdown::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. - * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get services from users + * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ServicesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -102,12 +102,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } /** - * Create new navigation property to children for storage - * @param DriveItem $body The request body - * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create new navigation property to services for users + * @param ServiceStorageQuotaBreakdown $body The request body + * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(DriveItem $body, ?ChildrenRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(ServiceStorageQuotaBreakdown $body, ?ServicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -124,10 +124,10 @@ public function toPostRequestInformation(DriveItem $body, ?ChildrenRequestBuilde /** * 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 ChildrenRequestBuilder + * @return ServicesRequestBuilder */ - public function withUrl(string $rawUrl): ChildrenRequestBuilder { - return new ChildrenRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ServicesRequestBuilder { + return new ServicesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetQueryParameters.php index 0726b108bfc..2e65dabb4bc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php similarity index 67% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php index 54e203b0e93..5db8132f4bc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param VersionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ServicesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?VersionsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ServicesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new VersionsRequestBuilderGetQueryParameters. + * Instantiates a new ServicesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ver * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return VersionsRequestBuilderGetQueryParameters + * @return ServicesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): VersionsRequestBuilderGetQueryParameters { - return new VersionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServicesRequestBuilderGetQueryParameters { + return new ServicesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilderPostRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php index be0f11d2cb1..6d0ca17159b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Checkout/CheckoutRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/Quota/Services/ServicesRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilder.php similarity index 65% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php rename to src/Generated/Users/Item/Settings/Storage/StorageRequestBuilder.php index 78cb4562cb2..93101ce7059 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilder.php @@ -1,28 +1,36 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new StorageRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/getByPath(path=\'{path}\')/getByPath(path=\'{path1}\')/onenote{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/storage{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property onenote for sites - * @param OnenoteRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property storage for users + * @param StorageRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?OnenoteRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?StorageRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +53,40 @@ public function delete(?OnenoteRequestBuilderDeleteRequestConfiguration $request } /** - * Calls the OneNote service for notebook related operations. - * @param OnenoteRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get storage from users + * @param StorageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?OnenoteRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?StorageRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Onenote::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UserStorage::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property onenote in sites - * @param Onenote $body The request body - * @param OnenoteRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property storage in users + * @param UserStorage $body The request body + * @param StorageRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(Onenote $body, ?OnenoteRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(UserStorage $body, ?StorageRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [Onenote::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [UserStorage::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property onenote for sites - * @param OnenoteRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property storage for users + * @param StorageRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?StorageRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -92,11 +100,11 @@ public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestCo } /** - * Calls the OneNote service for notebook related operations. - * @param OnenoteRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get storage from users + * @param StorageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?StorageRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -113,12 +121,12 @@ public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfigur } /** - * Update the navigation property onenote in sites - * @param Onenote $body The request body - * @param OnenoteRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property storage in users + * @param UserStorage $body The request body + * @param StorageRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(UserStorage $body, ?StorageRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -135,10 +143,10 @@ public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderP /** * 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 OnenoteRequestBuilder + * @return StorageRequestBuilder */ - public function withUrl(string $rawUrl): OnenoteRequestBuilder { - return new OnenoteRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): StorageRequestBuilder { + return new StorageRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c367de756ff --- /dev/null +++ b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetQueryParameters.php similarity index 74% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetQueryParameters.php index c7eb59844c6..39761903cf9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetRequestConfiguration.php similarity index 57% rename from src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetRequestConfiguration.php index 5673be8c2bb..7e7a8d56a5e 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPath1/Onenote/OnenoteRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param OnenoteRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param StorageRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?OnenoteRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?StorageRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new OnenoteRequestBuilderGetQueryParameters. + * Instantiates a new StorageRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return OnenoteRequestBuilderGetQueryParameters + * @return StorageRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): OnenoteRequestBuilderGetQueryParameters { - return new OnenoteRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): StorageRequestBuilderGetQueryParameters { + return new StorageRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderPatchRequestConfiguration.php similarity index 72% rename from src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderPostRequestConfiguration.php rename to src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderPatchRequestConfiguration.php index b122c8b954e..ba86760ef0d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Children/ChildrenRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Users/Item/Settings/Storage/StorageRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 3c2a3e31507..ed6eccd5127 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -617,11 +617,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * 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. + * Deletes a user. * @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/user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -642,11 +642,11 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @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-onboarding-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); @@ -662,7 +662,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -683,7 +683,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * 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. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -701,7 +701,7 @@ public function toDeleteRequestInformation(?UserItemRequestBuilderDeleteRequestC } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @param UserItemRequestBuilderGetRequestConfiguration|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..02898a7be9e 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. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. */ class UserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 563bba6427b..33430e928a9 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -88,7 +88,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @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/intune-mam-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); @@ -99,12 +99,12 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $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-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 Find more info here */ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -136,7 +136,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index d52d4443650..bd67d798195 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "BAE153A5255CE4702D8B10B11316559C604F18CC1755FE28BBBFC1F09DFBB547AFADB870E235EBC1E5B212FAEAEB4BD7054EB5CEF68EBC1900824127F45676B4", + "descriptionHash": "C1745121842B9F74D6EA05FF677C952FFEA83358E688A5020EC4474D0CFBDEDE08F0A163CFCE1BFA6F9705E0D49591BEF8A7AE5FD341767D1AE5222E8A4C5219", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.16.0", + "kiotaVersion": "1.17.0", "clientClassName": "BaseGraphClient", "clientNamespaceName": "Microsoft\\Graph\\Generated", "language": "PHP",